#17742F#17742F
#17742F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.134 H 147.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #17742F |
|---|---|
| RGB | rgb(23, 116, 47) |
| HSL | hsl(135, 67%, 27%) |
| HSV | hsv(135, 80%, 45%) |
| CMYK | cmyk(80.2%, 0%, 59.5%, 54.5%) |
| CIE-LAB | lab(42.58, -41.80, 30.35) |
| CIE-LCH | lch(42.58, 51.66, 144.02°) |
| OKLab | oklab(49.11% -0.1124 0.0722) |
| OKLCH | oklch(49.11% 0.134 147.3) |
| XYZ | xyz(7.1113, 12.8773, 4.7996) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.07
Jungle Green
#048243
ΔE00 5.44
Tree Green
#2A7E19
ΔE00 6.16
Darkgreen
#006400
ΔE00 7.07
Green
#008000
ΔE00 7.37
Dark Grass Green
#388004
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17742F #74175C
analogous
#2E7417 #17742F #17745E
triadic
#17742F #2F1774 #742F17
tetradic
#17742F #172E74 #74175C #745E17
square
#17742F #172E74 #74175C #745E17
split-complementary
#17742F #5E1774 #74172E
monochromatic
#051A0A #0D411A #17742F #21A744 #30D65A
Accessibility & contrast
On white
5.87
#17742F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#17742F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #17742F
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17742F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17742F | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756928
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #17742f; /* rgb */ color: rgb(23, 116, 47); /* oklch */ color: oklch(49.1% 0.134 147.3);
Tailwind
colors: {
custom: {
50: '#659d6a',
500: '#17742f',
950: '#000000',
},
}SCSS
$custom: #17742f; $custom-light: #659d6a; $custom-dark: #000000;
JSON
{
"hex": "#17742f",
"rgb": {
"r": 23,
"g": 116,
"b": 47
},
"hsl": {
"h": 135.484,
"s": 66.906,
"l": 27.255
},
"oklch": {
"l": 0.49107,
"c": 0.13363,
"h": 147.3
},
"luminance": 0.12878
}Semantic roles & 50–950 ramp
primary
#17742F
secondary
#A93D8E
accent
#3EBDEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A