#2C8F1B#2C8F1B
#2C8F1B is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.174 H 141.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C8F1B |
|---|---|
| RGB | rgb(44, 143, 27) |
| HSL | hsl(111, 68%, 33%) |
| HSV | hsv(111, 81%, 56%) |
| CMYK | cmyk(69.2%, 0%, 81.1%, 43.9%) |
| CIE-LAB | lab(52.13, -49.56, 49.02) |
| CIE-LCH | lch(52.13, 69.71, 135.32°) |
| OKLab | oklab(57.11% -0.1354 0.1091) |
| OKLCH | oklch(57.11% 0.174 141.1) |
| XYZ | xyz(11.0584, 20.2584, 4.3642) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 2.06
Forestgreen (CSS)
#228B22
ΔE00 2.07
True Green
#089404
ΔE00 2.41
Irish Green
#019529
ΔE00 3.15
Kelley Green
#009337
ΔE00 4.52
Grass Green
#3F9B0B
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C8F1B #7E1B8F
analogous
#668F1B #2C8F1B #1B8F44
triadic
#2C8F1B #1B2C8F #8F1B2C
tetradic
#2C8F1B #1B668F #7E1B8F #8F441B
square
#2C8F1B #1B668F #7E1B8F #8F441B
split-complementary
#2C8F1B #441B8F #8F1B66
monochromatic
#0C2808 #1C5C11 #2C8F1B #3CC225 #5EDC48
Accessibility & contrast
On white
4.16
#2C8F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#2C8F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C8F1B
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C8F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C8F1B | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#178A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2c8f1b; /* rgb */ color: rgb(44, 143, 27); /* oklch */ color: oklch(57.1% 0.174 141.1);
Tailwind
colors: {
custom: {
50: '#74b162',
500: '#2c8f1b',
950: '#000000',
},
}SCSS
$custom: #2c8f1b; $custom-light: #74b162; $custom-dark: #000000;
JSON
{
"hex": "#2c8f1b",
"rgb": {
"r": 44,
"g": 143,
"b": 27
},
"hsl": {
"h": 111.207,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.57105,
"c": 0.17392,
"h": 141.1
},
"luminance": 0.2026
}Semantic roles & 50–950 ramp
primary
#2C8F1B
secondary
#AD48BE
accent
#3DEBD2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A