#335C1F#335C1F
#335C1F is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.0% C 0.102 H 136.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #335C1F |
|---|---|
| RGB | rgb(51, 92, 31) |
| HSL | hsl(100, 50%, 24%) |
| HSV | hsv(100, 66%, 36%) |
| CMYK | cmyk(44.6%, 0%, 66.3%, 63.9%) |
| CIE-LAB | lab(34.92, -26.78, 29.89) |
| CIE-LCH | lch(34.92, 40.13, 131.86°) |
| OKLab | oklab(42.99% -0.074 0.0695) |
| OKLCH | oklch(42.99% 0.102 136.8) |
| XYZ | xyz(5.4396, 8.4567, 2.6417) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.68
Navy Green
#35530A
ΔE00 4.45
Forest
#0B5509
ΔE00 5.09
Deep Green
#02590F
ΔE00 5.17
Pine
#2B5D34
ΔE00 5.65
Darkgreen
#006400
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#335C1F #481F5C
analogous
#525C1F #335C1F #1F5C2A
triadic
#335C1F #1F335C #5C1F33
tetradic
#335C1F #1F525C #481F5C #5C2A1F
square
#335C1F #1F525C #481F5C #5C2A1F
split-complementary
#335C1F #2A1F5C #5C1F52
monochromatic
#0D1708 #1A2E10 #335C1F #4C8A2E #66B83E
Accessibility & contrast
On white
7.80
#335C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#335C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #335C1F
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##335C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##335C1F | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#31594F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #335c1f; /* rgb */ color: rgb(51, 92, 31); /* oklch */ color: oklch(43.0% 0.102 136.8);
Tailwind
colors: {
custom: {
50: '#6e8a5d',
500: '#335c1f',
950: '#000000',
},
}SCSS
$custom: #335c1f; $custom-light: #6e8a5d; $custom-dark: #000000;
JSON
{
"hex": "#335c1f",
"rgb": {
"r": 51,
"g": 92,
"b": 31
},
"hsl": {
"h": 100.328,
"s": 49.593,
"l": 24.118
},
"oklch": {
"l": 0.42989,
"c": 0.10154,
"h": 136.8
},
"luminance": 0.08457
}Semantic roles & 50–950 ramp
primary
#335C1F
secondary
#784691
accent
#4FD9AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79