#2B8D1F#2B8D1F
#2B8D1F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.170 H 141.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B8D1F |
|---|---|
| RGB | rgb(43, 141, 31) |
| HSL | hsl(113, 64%, 34%) |
| HSV | hsv(113, 78%, 55%) |
| CMYK | cmyk(69.5%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(51.45, -48.80, 47.03) |
| CIE-LCH | lch(51.45, 67.78, 136.06°) |
| OKLab | oklab(56.55% -0.1331 0.1055) |
| OKLCH | oklch(56.55% 0.17 141.6) |
| XYZ | xyz(10.7679, 19.6611, 4.5236) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.22
Emerald Green
#028F1E
ΔE00 1.84
True Green
#089404
ΔE00 3.12
Irish Green
#019529
ΔE00 3.32
Kelley Green
#009337
ΔE00 4.28
Dark Grass Green
#388004
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B8D1F #811F8D
analogous
#628D1F #2B8D1F #1F8D4A
triadic
#2B8D1F #1F2B8D #8D1F2B
tetradic
#2B8D1F #1F628D #811F8D #8D4A1F
square
#2B8D1F #1F628D #811F8D #8D4A1F
split-complementary
#2B8D1F #4A1F8D #8D1F62
monochromatic
#0C2909 #1C5B14 #2B8D1F #3ABF2A #5DD84E
Accessibility & contrast
On white
4.26
#2B8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#2B8D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B8D1F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B8D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B8D1F | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#158878
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2b8d1f; /* rgb */ color: rgb(43, 141, 31); /* oklch */ color: oklch(56.5% 0.170 141.6);
Tailwind
colors: {
custom: {
50: '#73af63',
500: '#2b8d1f',
950: '#000000',
},
}SCSS
$custom: #2b8d1f; $custom-light: #73af63; $custom-dark: #000000;
JSON
{
"hex": "#2b8d1f",
"rgb": {
"r": 43,
"g": 141,
"b": 31
},
"hsl": {
"h": 113.455,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.56545,
"c": 0.1699,
"h": 141.6
},
"luminance": 0.19662
}Semantic roles & 50–950 ramp
primary
#2B8D1F
secondary
#AF4DBB
accent
#41E7D5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A