Recognised as Colour
#338F42
- #338F42
- Green
- Dark
- Nearest: Sea green
#338F42 is a green with RGB values 51, 143, 66 and HSL 130°, 47%, 38%. It is a dark colour, so black text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Sea green.
Colour values
#338F42#338F42
HEX#338F42
RGBrgb(51, 143, 66)
RGB (0–1)0.2, 0.5608, 0.2588
RGB percentages20%, 56.1%, 25.9%
HSLhsl(129.8, 47.4%, 38%)
HSV / HSBhsv(129.8, 64.3%, 56.1%)
CMYK64.3%, 0%, 53.8%, 43.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,379,010
CSS custom property--colour: #338F42;
Brightness & contrast
Relative luminance0.20742WCAG 2.x, 0 is black and 1 is white
Perceived brightness115.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.15:1
Contrast with white4.08:1WCAG normal text: Fail
Contrast with black5.15:1WCAG normal text: AA
Greyscale equivalent#767676
Inverted#CC70BD
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.08:1WCAG large text: AA
Contrast with black, large text5.15:1WCAG large text: AAA
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8F3380
Analogous#528F33, #338F70
Triadic#42338F, #8F4233
Split complementary#70338F, #8F3352
Tetradic#33528F, #8F3380, #8F7033
Tints, shades & saturation
Channel breakdown
R51
G143
B66
Red51 (20%)
Green143 (56.1%)
Blue66 (25.9%)
Hue129.78°
Saturation (HSL)47.42%
Lightness38.04%
Dominant channelGreen
Hex per channelR 33 · G 8F · B 42
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page