#336F10#336F10
#336F10 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.138 H 137.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #336F10 |
|---|---|
| RGB | rgb(51, 111, 16) |
| HSL | hsl(98, 75%, 25%) |
| HSV | hsv(98, 86%, 44%) |
| CMYK | cmyk(54.1%, 0%, 85.6%, 56.5%) |
| CIE-LAB | lab(41.39, -36.37, 42.48) |
| CIE-LCH | lch(41.39, 55.92, 130.57°) |
| OKLab | oklab(48.27% -0.101 0.0937) |
| OKLCH | oklch(48.27% 0.138 137.2) |
| XYZ | xyz(7.1430, 12.1096, 2.4511) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 5.31
Tree Green
#2A7E19
ΔE00 5.33
Dark Grass Green
#388004
ΔE00 6.18
Green
#008000
ΔE00 6.65
Darkish Green
#287C37
ΔE00 7.19
Darkolivegreen
#556B2F
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336F10 #4C106F
analogous
#626F10 #336F10 #106F1D
triadic
#336F10 #10336F #6F1033
tetradic
#336F10 #10626F #4C106F #6F1D10
square
#336F10 #10626F #4C106F #6F1D10
split-complementary
#336F10 #1D106F #6F1062
monochromatic
#0C1B04 #1A3A08 #336F10 #4CA418 #64DA1F
Accessibility & contrast
On white
6.14
#336F10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#336F10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336F10
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336F10 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#2F6B5E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #336f10; /* rgb */ color: rgb(51, 111, 16); /* oklch */ color: oklch(48.3% 0.138 137.2);
Tailwind
colors: {
custom: {
50: '#729958',
500: '#336f10',
950: '#000000',
},
}SCSS
$custom: #336f10; $custom-light: #729958; $custom-dark: #000000;
JSON
{
"hex": "#336f10",
"rgb": {
"r": 51,
"g": 111,
"b": 16
},
"hsl": {
"h": 97.895,
"s": 74.803,
"l": 24.902
},
"oklch": {
"l": 0.4827,
"c": 0.13778,
"h": 137.2
},
"luminance": 0.1211
}Semantic roles & 50–950 ramp
primary
#336F10
secondary
#7C34A7
accent
#36F1AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79