#168B1F#168B1F
#168B1F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.174 H 143.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #168B1F |
|---|---|
| RGB | rgb(22, 139, 31) |
| HSL | hsl(125, 73%, 32%) |
| HSV | hsv(125, 84%, 55%) |
| CMYK | cmyk(84.2%, 0%, 77.7%, 45.5%) |
| CIE-LAB | lab(50.37, -51.55, 45.83) |
| CIE-LCH | lch(50.37, 68.98, 138.36°) |
| OKLab | oklab(55.53% -0.1395 0.1032) |
| OKLCH | oklch(55.53% 0.174 143.5) |
| XYZ | xyz(9.8102, 18.7335, 4.3950) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.62
Emerald Green
#028F1E
ΔE00 1.44
Irish Green
#019529
ΔE00 3.52
True Green
#089404
ΔE00 3.83
Kelley Green
#009337
ΔE00 3.97
Green
#008000
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#168B1F #8B1682
analogous
#488B16 #168B1F #168B5A
triadic
#168B1F #1F168B #8B1F16
tetradic
#168B1F #16488B #8B1682 #8B5A16
square
#168B1F #16488B #8B1682 #8B5A16
split-complementary
#168B1F #5A168B #8B1648
monochromatic
#052107 #0E5613 #168B1F #1EC02B #3BE048
Accessibility & contrast
On white
4.42
#168B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#168B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #168B1F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##168B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##168B1F | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #168b1f; /* rgb */ color: rgb(22, 139, 31); /* oklch */ color: oklch(55.5% 0.174 143.5);
Tailwind
colors: {
custom: {
50: '#6cae63',
500: '#168b1f',
950: '#000000',
},
}SCSS
$custom: #168b1f; $custom-light: #6cae63; $custom-dark: #000000;
JSON
{
"hex": "#168b1f",
"rgb": {
"r": 22,
"g": 139,
"b": 31
},
"hsl": {
"h": 124.615,
"s": 72.671,
"l": 31.569
},
"oklch": {
"l": 0.55534,
"c": 0.17355,
"h": 143.5
},
"luminance": 0.18735
}Semantic roles & 50–950 ramp
primary
#168B1F
secondary
#BF3EB5
accent
#38E1EF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A