#334F10#334F10
#334F10 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.1% C 0.094 H 130.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #334F10 |
|---|---|
| RGB | rgb(51, 79, 16) |
| HSL | hsl(87, 66%, 19%) |
| HSV | hsv(87, 80%, 31%) |
| CMYK | cmyk(35.4%, 0%, 79.7%, 69%) |
| CIE-LAB | lab(30.24, -21.77, 31.90) |
| CIE-LCH | lch(30.24, 38.62, 124.31°) |
| OKLab | oklab(39.13% -0.0617 0.0715) |
| OKLCH | oklch(39.13% 0.094 130.8) |
| XYZ | xyz(4.2547, 6.3330, 1.4883) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.86
Dark Olive Green
#3C4D03
ΔE00 3.89
Forrest Green
#154406
ΔE00 5.63
Forest Green
#2D5A27
ΔE00 5.96
Army Green
#4B5D16
ΔE00 6.24
Forest
#0B5509
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334F10 #2C104F
analogous
#4F4B10 #334F10 #134F10
triadic
#334F10 #10334F #4F1033
tetradic
#334F10 #104F4B #2C104F #4F1013
square
#334F10 #104F4B #2C104F #4F1013
split-complementary
#334F10 #10134F #4B104F
monochromatic
#101905 #121C06 #334F10 #54821A #75B525
Accessibility & contrast
On white
9.26
#334F10 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#334F10 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334F10
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334F10 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534905
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#344B43
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #334f10; /* rgb */ color: rgb(51, 79, 16); /* oklch */ color: oklch(39.1% 0.094 130.8);
Tailwind
colors: {
custom: {
50: '#6e8053',
500: '#334f10',
950: '#000000',
},
}SCSS
$custom: #334f10; $custom-light: #6e8053; $custom-dark: #000000;
JSON
{
"hex": "#334f10",
"rgb": {
"r": 51,
"g": 79,
"b": 16
},
"hsl": {
"h": 86.667,
"s": 66.316,
"l": 18.627
},
"oklch": {
"l": 0.39126,
"c": 0.09443,
"h": 130.8
},
"luminance": 0.06333
}Semantic roles & 50–950 ramp
primary
#334F10
secondary
#593289
accent
#3FE98A
background
#F6F7F4
surface
#ECEEE7
border
#C7C9C3
text
#070A03
muted
#7A7C78