#1F6038#1F6038
#1F6038 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.093 H 153.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6038 |
|---|---|
| RGB | rgb(31, 96, 56) |
| HSL | hsl(143, 51%, 25%) |
| HSV | hsv(143, 68%, 38%) |
| CMYK | cmyk(67.7%, 0%, 41.7%, 62.4%) |
| CIE-LAB | lab(35.87, -30.65, 16.97) |
| CIE-LCH | lch(35.87, 35.03, 151.02°) |
| OKLab | oklab(43.67% -0.0829 0.0423) |
| OKLCH | oklch(43.67% 0.093 153) |
| XYZ | xyz(5.4613, 8.9420, 5.1788) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.74
Pine
#2B5D34
ΔE00 2.25
Hunter Green
#355E3B
ΔE00 3.65
Forest Green
#2D5A27
ΔE00 5.02
Pine Green
#0A481E
ΔE00 7.82
Deep Green
#02590F
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6038 #601F47
analogous
#27601F #1F6038 #1F6059
triadic
#1F6038 #381F60 #60381F
tetradic
#1F6038 #1F2760 #601F47 #60591F
square
#1F6038 #1F2760 #601F47 #60591F
split-complementary
#1F6038 #591F60 #601F27
monochromatic
#07170D #10321D #1F6038 #2E8E53 #3DBD6E
Accessibility & contrast
On white
7.53
#1F6038 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#1F6038 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F6038
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6038 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605835
Deuteranopia (green-blind)
#58523B
Tritanopia (blue-blind)
#045F56
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #1f6038; /* rgb */ color: rgb(31, 96, 56); /* oklch */ color: oklch(43.7% 0.093 153.0);
Tailwind
colors: {
custom: {
50: '#638e6f',
500: '#1f6038',
950: '#000000',
},
}SCSS
$custom: #1f6038; $custom-light: #638e6f; $custom-dark: #000000;
JSON
{
"hex": "#1f6038",
"rgb": {
"r": 31,
"g": 96,
"b": 56
},
"hsl": {
"h": 143.077,
"s": 51.181,
"l": 24.902
},
"oklch": {
"l": 0.43667,
"c": 0.09305,
"h": 153
},
"luminance": 0.08943
}Semantic roles & 50–950 ramp
primary
#1F6038
secondary
#954676
accent
#4DA4DB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A