#17310F#17310F
#17310F is a dark, moderate green. Relative luminance 0.024; OKLCH L 28.3% C 0.066 H 138.9°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #17310F |
|---|---|
| RGB | rgb(23, 49, 15) |
| HSL | hsl(106, 53%, 13%) |
| HSV | hsv(106, 69%, 19%) |
| CMYK | cmyk(53.1%, 0%, 69.4%, 80.8%) |
| CIE-LAB | lab(17.52, -18.03, 18.24) |
| CIE-LCH | lch(17.52, 25.65, 134.66°) |
| OKLab | oklab(28.29% -0.0495 0.0432) |
| OKLCH | oklch(28.29% 0.066 138.9) |
| XYZ | xyz(1.5378, 2.4132, 0.8366) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Very Dark Green
#062E03
ΔE00 3.27
Dark Forest Green
#002D04
ΔE00 4.05
Dark Green
#033500
ΔE00 5.05
Hunter Green (survey)
#0B4008
ΔE00 6.91
Forrest Green
#154406
ΔE00 8.03
Pine Green
#0A481E
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17310F #290F31
analogous
#28310F #17310F #0F3118
triadic
#17310F #0F1731 #310F17
tetradic
#17310F #0F2831 #290F31 #31180F
square
#17310F #0F2831 #290F31 #31180F
split-complementary
#17310F #180F31 #310F28
monochromatic
#0B1707 #0B1707 #17310F #2D601D #438F2C
Accessibility & contrast
On white
14.16
#17310F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#17310F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17310F
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17310F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17310F | 1.00 | 14.16 | 1.48 | 14.16 |
| #FFFFFF | 14.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332C0C
Deuteranopia (green-blind)
#2F2A12
Tritanopia (blue-blind)
#152F2A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #17310f; /* rgb */ color: rgb(23, 49, 15); /* oklch */ color: oklch(28.3% 0.066 138.9);
Tailwind
colors: {
custom: {
50: '#56694e',
500: '#17310f',
950: '#000000',
},
}SCSS
$custom: #17310f; $custom-light: #56694e; $custom-dark: #000000;
JSON
{
"hex": "#17310f",
"rgb": {
"r": 23,
"g": 49,
"b": 15
},
"hsl": {
"h": 105.882,
"s": 53.125,
"l": 12.549
},
"oklch": {
"l": 0.28288,
"c": 0.06569,
"h": 138.9
},
"luminance": 0.02413
}Semantic roles & 50–950 ramp
primary
#17310F
secondary
#5D316B
accent
#4BDDBA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77