#1F460F#1F460F
#1F460F is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.3% C 0.094 H 138.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F460F |
|---|---|
| RGB | rgb(31, 70, 15) |
| HSL | hsl(103, 65%, 17%) |
| HSV | hsv(103, 79%, 27%) |
| CMYK | cmyk(55.7%, 0%, 78.6%, 72.5%) |
| CIE-LAB | lab(25.88, -25.34, 27.57) |
| CIE-LCH | lch(25.88, 37.44, 132.58°) |
| OKLab | oklab(35.26% -0.07 0.0626) |
| OKLCH | oklch(35.26% 0.094 138.2) |
| XYZ | xyz(2.8414, 4.7059, 1.2105) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forrest Green
#154406
ΔE00 1.69
Hunter Green (survey)
#0B4008
ΔE00 2.87
Forest Green (survey)
#06470C
ΔE00 3.09
British Racing Green
#05480D
ΔE00 3.27
Darkgreen (survey)
#054907
ΔE00 3.41
Racing Green
#014600
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F460F #360F46
analogous
#3B460F #1F460F #0F461B
triadic
#1F460F #0F1F46 #460F1F
tetradic
#1F460F #0F3B46 #360F46 #461B0F
square
#1F460F #0F3B46 #360F46 #461B0F
split-complementary
#1F460F #1B0F46 #460F3B
monochromatic
#0B1905 #0B1905 #1F460F #35781A #4CAB25
Accessibility & contrast
On white
10.82
#1F460F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#1F460F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F460F
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F460F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F460F | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#1C433B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f460f; /* rgb */ color: rgb(31, 70, 15); /* oklch */ color: oklch(35.3% 0.094 138.2);
Tailwind
colors: {
custom: {
50: '#5f7a51',
500: '#1f460f',
950: '#000000',
},
}SCSS
$custom: #1f460f; $custom-light: #5f7a51; $custom-dark: #000000;
JSON
{
"hex": "#1f460f",
"rgb": {
"r": 31,
"g": 70,
"b": 15
},
"hsl": {
"h": 102.545,
"s": 64.706,
"l": 16.667
},
"oklch": {
"l": 0.35258,
"c": 0.09391,
"h": 138.2
},
"luminance": 0.04706
}Semantic roles & 50–950 ramp
primary
#1F460F
secondary
#693080
accent
#40E8B7
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78