#335C1E#335C1E
#335C1E is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.0% C 0.102 H 136.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #335C1E |
|---|---|
| RGB | rgb(51, 92, 30) |
| HSL | hsl(100, 51%, 24%) |
| HSV | hsv(100, 67%, 36%) |
| CMYK | cmyk(44.6%, 0%, 67.4%, 63.9%) |
| CIE-LAB | lab(34.91, -26.89, 30.37) |
| CIE-LCH | lch(34.91, 40.57, 131.52°) |
| OKLab | oklab(42.98% -0.0744 0.0704) |
| OKLCH | oklch(42.98% 0.102 136.6) |
| XYZ | xyz(5.4266, 8.4515, 2.5734) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.87
Navy Green
#35530A
ΔE00 4.31
Forest
#0B5509
ΔE00 5.04
Deep Green
#02590F
ΔE00 5.15
Pine
#2B5D34
ΔE00 5.85
Darkgreen
#006400
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335C1E #471E5C
analogous
#525C1E #335C1E #1E5C28
triadic
#335C1E #1E335C #5C1E33
tetradic
#335C1E #1E525C #471E5C #5C281E
square
#335C1E #1E525C #471E5C #5C281E
split-complementary
#335C1E #281E5C #5C1E52
monochromatic
#0D1708 #192E0F #335C1E #4D8A2D #66B83C
Accessibility & contrast
On white
7.81
#335C1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#335C1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335C1E
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335C1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335C1E | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5417
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#31594F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #335c1e; /* rgb */ color: rgb(51, 92, 30); /* oklch */ color: oklch(43.0% 0.102 136.6);
Tailwind
colors: {
custom: {
50: '#6e8a5d',
500: '#335c1e',
950: '#000000',
},
}SCSS
$custom: #335c1e; $custom-light: #6e8a5d; $custom-dark: #000000;
JSON
{
"hex": "#335c1e",
"rgb": {
"r": 51,
"g": 92,
"b": 30
},
"hsl": {
"h": 99.677,
"s": 50.82,
"l": 23.922
},
"oklch": {
"l": 0.42977,
"c": 0.10244,
"h": 136.6
},
"luminance": 0.08452
}Semantic roles & 50–950 ramp
primary
#335C1E
secondary
#774591
accent
#4DDAAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79