#17802F#17802F
#17802F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.149 H 146.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #17802F |
|---|---|
| RGB | rgb(23, 128, 47) |
| HSL | hsl(134, 70%, 30%) |
| HSV | hsv(134, 82%, 50%) |
| CMYK | cmyk(82%, 0%, 63.3%, 49.8%) |
| CIE-LAB | lab(46.74, -46.11, 35.20) |
| CIE-LCH | lch(46.74, 58.01, 142.64°) |
| OKLab | oklab(52.56% -0.1241 0.0827) |
| OKLCH | oklch(52.56% 0.149 146.3) |
| XYZ | xyz(8.5850, 15.8247, 5.2908) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.36
Tree Green
#2A7E19
ΔE00 3.79
Jungle Green
#048243
ΔE00 3.95
Green
#008000
ΔE00 4.79
Forestgreen (CSS)
#228B22
ΔE00 5.05
Emerald Green
#028F1E
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17802F #801768
analogous
#348017 #17802F #178063
triadic
#17802F #2F1780 #802F17
tetradic
#17802F #173480 #801768 #806317
square
#17802F #173480 #801768 #806317
split-complementary
#17802F #631780 #801734
monochromatic
#051A0A #0E4C1C #17802F #20B442 #36DB5C
Accessibility & contrast
On white
5.04
#17802F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#17802F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #17802F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17802F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17802F | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #17802f; /* rgb */ color: rgb(23, 128, 47); /* oklch */ color: oklch(52.6% 0.149 146.3);
Tailwind
colors: {
custom: {
50: '#68a66b',
500: '#17802f',
950: '#000000',
},
}SCSS
$custom: #17802f; $custom-light: #68a66b; $custom-dark: #000000;
JSON
{
"hex": "#17802f",
"rgb": {
"r": 23,
"g": 128,
"b": 47
},
"hsl": {
"h": 133.714,
"s": 69.536,
"l": 29.608
},
"oklch": {
"l": 0.52563,
"c": 0.14913,
"h": 146.3
},
"luminance": 0.15826
}Semantic roles & 50–950 ramp
primary
#17802F
secondary
#B43E99
accent
#3BC4EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A