#1F450C#1F450C
#1F450C is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.095 H 137.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1F450C |
|---|---|
| RGB | rgb(31, 69, 12) |
| HSL | hsl(100, 70%, 16%) |
| HSV | hsv(100, 83%, 27%) |
| CMYK | cmyk(55.1%, 0%, 82.6%, 72.9%) |
| CIE-LAB | lab(25.48, -25.14, 28.48) |
| CIE-LCH | lch(25.48, 37.99, 131.43°) |
| OKLab | oklab(34.93% -0.0697 0.0641) |
| OKLCH | oklch(34.93% 0.095 137.4) |
| XYZ | xyz(2.7595, 4.5739, 1.0852) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forrest Green
#154406
ΔE00 1.55
Hunter Green (survey)
#0B4008
ΔE00 2.90
Forest Green (survey)
#06470C
ΔE00 3.34
British Racing Green
#05480D
ΔE00 3.55
Darkgreen (survey)
#054907
ΔE00 3.57
Racing Green
#014600
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F450C #320C45
analogous
#3B450C #1F450C #0C4515
triadic
#1F450C #0C1F45 #450C1F
tetradic
#1F450C #0C3B45 #320C45 #45150C
square
#1F450C #0C3B45 #320C45 #45150C
split-complementary
#1F450C #150C45 #450C3B
monochromatic
#0C1A05 #0C1A05 #1F450C #367915 #4EAD1E
Accessibility & contrast
On white
10.97
#1F450C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1F450C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F450C
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F450C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F450C | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#483E03
Deuteranopia (green-blind)
#433B12
Tritanopia (blue-blind)
#1D423A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f450c; /* rgb */ color: rgb(31, 69, 12); /* oklch */ color: oklch(34.9% 0.095 137.4);
Tailwind
colors: {
custom: {
50: '#5f794f',
500: '#1f450c',
950: '#000000',
},
}SCSS
$custom: #1f450c; $custom-light: #5f794f; $custom-dark: #000000;
JSON
{
"hex": "#1f450c",
"rgb": {
"r": 31,
"g": 69,
"b": 12
},
"hsl": {
"h": 100,
"s": 70.37,
"l": 15.882
},
"oklch": {
"l": 0.34926,
"c": 0.09464,
"h": 137.4
},
"luminance": 0.04574
}Semantic roles & 50–950 ramp
primary
#1F450C
secondary
#652C81
accent
#3BEDB2
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78