#1F4710#1F4710
#1F4710 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.6% C 0.095 H 138.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4710 |
|---|---|
| RGB | rgb(31, 71, 16) |
| HSL | hsl(104, 63%, 17%) |
| HSV | hsv(104, 77%, 28%) |
| CMYK | cmyk(56.3%, 0%, 77.5%, 72.2%) |
| CIE-LAB | lab(26.26, -25.70, 27.51) |
| CIE-LCH | lch(26.26, 37.65, 133.06°) |
| OKLab | oklab(35.57% -0.0709 0.0627) |
| OKLCH | oklch(35.57% 0.095 138.5) |
| XYZ | xyz(2.9117, 4.8350, 1.2699) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forrest Green
#154406
ΔE00 1.77
Forest Green (survey)
#06470C
ΔE00 2.94
Hunter Green (survey)
#0B4008
ΔE00 2.98
British Racing Green
#05480D
ΔE00 3.10
Darkgreen (survey)
#054907
ΔE00 3.24
Bottle Green
#044A05
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4710 #381047
analogous
#3B4710 #1F4710 #10471D
triadic
#1F4710 #101F47 #47101F
tetradic
#1F4710 #103B47 #381047 #471D10
square
#1F4710 #103B47 #381047 #471D10
split-complementary
#1F4710 #1D1047 #47103B
monochromatic
#0B1906 #0B1906 #1F4710 #35791B #4BAB27
Accessibility & contrast
On white
10.68
#1F4710 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1F4710 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4710
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4710 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4710 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494008
Deuteranopia (green-blind)
#443D15
Tritanopia (blue-blind)
#1C443C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f4710; /* rgb */ color: rgb(31, 71, 16); /* oklch */ color: oklch(35.6% 0.095 138.5);
Tailwind
colors: {
custom: {
50: '#5f7a52',
500: '#1f4710',
950: '#000000',
},
}SCSS
$custom: #1f4710; $custom-light: #5f7a52; $custom-dark: #000000;
JSON
{
"hex": "#1f4710",
"rgb": {
"r": 31,
"g": 71,
"b": 16
},
"hsl": {
"h": 103.636,
"s": 63.218,
"l": 17.059
},
"oklch": {
"l": 0.35573,
"c": 0.09459,
"h": 138.5
},
"luminance": 0.04835
}Semantic roles & 50–950 ramp
primary
#1F4710
secondary
#6B3281
accent
#42E6B9
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78