#168E2B#168E2B
#168E2B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.169 H 145.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #168E2B |
|---|---|
| RGB | rgb(22, 142, 43) |
| HSL | hsl(131, 73%, 32%) |
| HSV | hsv(131, 85%, 56%) |
| CMYK | cmyk(84.5%, 0%, 69.7%, 44.3%) |
| CIE-LAB | lab(51.48, -51.43, 42.26) |
| CIE-LCH | lch(51.48, 66.57, 140.59°) |
| OKLab | oklab(56.49% -0.1387 0.0973) |
| OKLCH | oklch(56.49% 0.169 145) |
| XYZ | xyz(10.4392, 19.6897, 5.5353) |
| Luminance | 0.1969 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.55
Forestgreen (CSS)
#228B22
ΔE00 1.65
Kelley Green
#009337
ΔE00 2.34
Irish Green
#019529
ΔE00 2.47
True Green
#089404
ΔE00 4.09
Green
#008000
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#168E2B #8E1679
analogous
#3D8E16 #168E2B #168E67
triadic
#168E2B #2B168E #8E2B16
tetradic
#168E2B #163D8E #8E1679 #8E6716
square
#168E2B #163D8E #8E1679 #8E6716
split-complementary
#168E2B #67168E #8E163D
monochromatic
#06240B #0E591B #168E2B #1EC33B #3DE15A
Accessibility & contrast
On white
4.25
#168E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#168E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #168E2B
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##168E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##168E2B | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90801D
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #168e2b; /* rgb */ color: rgb(22, 142, 43); /* oklch */ color: oklch(56.5% 0.169 145.0);
Tailwind
colors: {
custom: {
50: '#6cb06a',
500: '#168e2b',
950: '#000000',
},
}SCSS
$custom: #168e2b; $custom-light: #6cb06a; $custom-dark: #000000;
JSON
{
"hex": "#168e2b",
"rgb": {
"r": 22,
"g": 142,
"b": 43
},
"hsl": {
"h": 130.5,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.56486,
"c": 0.1694,
"h": 145
},
"luminance": 0.19691
}Semantic roles & 50–950 ramp
primary
#168E2B
secondary
#C13FAA
accent
#38D0F0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A