#128F1C#128F1C
#128F1C is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.180 H 143.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #128F1C |
|---|---|
| RGB | rgb(18, 143, 28) |
| HSL | hsl(125, 78%, 32%) |
| HSV | hsv(125, 87%, 56%) |
| CMYK | cmyk(87.4%, 0%, 80.4%, 43.9%) |
| CIE-LAB | lab(51.67, -53.47, 48.10) |
| CIE-LCH | lch(51.67, 71.92, 138.02°) |
| OKLab | oklab(56.6% -0.1447 0.1075) |
| OKLCH | oklch(56.6% 0.18 143.4) |
| XYZ | xyz(10.2808, 19.8561, 4.3891) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.54
Forestgreen (CSS)
#228B22
ΔE00 1.62
Irish Green
#019529
ΔE00 2.38
True Green
#089404
ΔE00 2.44
Kelley Green
#009337
ΔE00 3.63
Green
#008000
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#128F1C #8F1285
analogous
#478F12 #128F1C #128F5B
triadic
#128F1C #1C128F #8F1C12
tetradic
#128F1C #12478F #8F1285 #8F5B12
square
#128F1C #12478F #8F1285 #8F5B12
split-complementary
#128F1C #5B128F #8F1247
monochromatic
#042207 #0B5911 #128F1C #19C527 #36E644
Accessibility & contrast
On white
4.22
#128F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#128F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #128F1C
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##128F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##128F1C | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #128f1c; /* rgb */ color: rgb(18, 143, 28); /* oklch */ color: oklch(56.6% 0.180 143.4);
Tailwind
colors: {
custom: {
50: '#6cb162',
500: '#128f1c',
950: '#000000',
},
}SCSS
$custom: #128f1c; $custom-light: #6cb162; $custom-dark: #000000;
JSON
{
"hex": "#128f1c",
"rgb": {
"r": 18,
"g": 143,
"b": 28
},
"hsl": {
"h": 124.8,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.56597,
"c": 0.18029,
"h": 143.4
},
"luminance": 0.19857
}Semantic roles & 50–950 ramp
primary
#128F1C
secondary
#C33AB8
accent
#34E5F4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A