#1F450F#1F450F
#1F450F is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.0% C 0.092 H 138.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1F450F |
|---|---|
| RGB | rgb(31, 69, 15) |
| HSL | hsl(102, 64%, 16%) |
| HSV | hsv(102, 78%, 27%) |
| CMYK | cmyk(55.1%, 0%, 78.3%, 72.9%) |
| CIE-LAB | lab(25.51, -24.88, 27.18) |
| CIE-LCH | lch(25.51, 36.85, 132.46°) |
| OKLab | oklab(34.95% -0.0687 0.0618) |
| OKLCH | oklch(34.95% 0.092 138) |
| XYZ | xyz(2.7793, 4.5818, 1.1898) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forrest Green
#154406
ΔE00 1.77
Hunter Green (survey)
#0B4008
ΔE00 2.77
Forest Green (survey)
#06470C
ΔE00 3.25
British Racing Green
#05480D
ΔE00 3.45
Darkgreen (survey)
#054907
ΔE00 3.65
Racing Green
#014600
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F450F #350F45
analogous
#3A450F #1F450F #0F451A
triadic
#1F450F #0F1F45 #450F1F
tetradic
#1F450F #0F3A45 #350F45 #451A0F
square
#1F450F #0F3A45 #350F45 #451A0F
split-complementary
#1F450F #1A0F45 #450F3A
monochromatic
#0B1905 #0B1905 #1F450F #36771A #4CAA25
Accessibility & contrast
On white
10.96
#1F450F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#1F450F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F450F
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F450F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F450F | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473E07
Deuteranopia (green-blind)
#423B14
Tritanopia (blue-blind)
#1C423A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f450f; /* rgb */ color: rgb(31, 69, 15); /* oklch */ color: oklch(35.0% 0.092 138.0);
Tailwind
colors: {
custom: {
50: '#5f7951',
500: '#1f450f',
950: '#000000',
},
}SCSS
$custom: #1f450f; $custom-light: #5f7951; $custom-dark: #000000;
JSON
{
"hex": "#1f450f",
"rgb": {
"r": 31,
"g": 69,
"b": 15
},
"hsl": {
"h": 102.222,
"s": 64.286,
"l": 16.471
},
"oklch": {
"l": 0.34953,
"c": 0.09243,
"h": 138
},
"luminance": 0.04582
}Semantic roles & 50–950 ramp
primary
#1F450F
secondary
#68307F
accent
#41E7B6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78