#17731F#17731F
#17731F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.145 H 143.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #17731F |
|---|---|
| RGB | rgb(23, 115, 31) |
| HSL | hsl(125, 67%, 27%) |
| HSV | hsv(125, 80%, 45%) |
| CMYK | cmyk(80%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.06, -43.41, 37.37) |
| CIE-LCH | lch(42.06, 57.28, 139.28°) |
| OKLab | oklab(48.63% -0.1174 0.0855) |
| OKLCH | oklch(48.63% 0.145 143.9) |
| XYZ | xyz(6.7310, 12.5418, 3.3621) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.40
Tree Green
#2A7E19
ΔE00 4.64
Darkgreen
#006400
ΔE00 5.38
Green
#008000
ΔE00 5.62
Dark Grass Green
#388004
ΔE00 7.10
Jungle Green
#048243
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17731F #73176B
analogous
#3D7317 #17731F #17734D
triadic
#17731F #1F1773 #731F17
tetradic
#17731F #173D73 #73176B #734D17
square
#17731F #173D73 #73176B #734D17
split-complementary
#17731F #4D1773 #73173D
monochromatic
#051A07 #0D4011 #17731F #21A62D #2FD53D
Accessibility & contrast
On white
5.99
#17731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#17731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #17731F
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17731F | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756812
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #17731f; /* rgb */ color: rgb(23, 115, 31); /* oklch */ color: oklch(48.6% 0.145 143.9);
Tailwind
colors: {
custom: {
50: '#669c60',
500: '#17731f',
950: '#000000',
},
}SCSS
$custom: #17731f; $custom-light: #669c60; $custom-dark: #000000;
JSON
{
"hex": "#17731f",
"rgb": {
"r": 23,
"g": 115,
"b": 31
},
"hsl": {
"h": 125.217,
"s": 66.667,
"l": 27.059
},
"oklch": {
"l": 0.48628,
"c": 0.14527,
"h": 143.9
},
"luminance": 0.12543
}Semantic roles & 50–950 ramp
primary
#17731F
secondary
#A93D9F
accent
#3EDBEA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79