#2B8F18#2B8F18
#2B8F18 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.176 H 141.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2B8F18 |
|---|---|
| RGB | rgb(43, 143, 24) |
| HSL | hsl(110, 71%, 33%) |
| HSV | hsv(110, 83%, 56%) |
| CMYK | cmyk(69.9%, 0%, 83.2%, 43.9%) |
| CIE-LAB | lab(52.09, -49.95, 49.88) |
| CIE-LCH | lch(52.09, 70.59, 135.04°) |
| OKLab | oklab(57.06% -0.1366 0.1105) |
| OKLCH | oklch(57.06% 0.176 141) |
| XYZ | xyz(10.9830, 20.2233, 4.1887) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 2.14
Forestgreen (CSS)
#228B22
ΔE00 2.20
True Green
#089404
ΔE00 2.27
Irish Green
#019529
ΔE00 3.27
Kelley Green
#009337
ΔE00 4.72
Grass Green
#3F9B0B
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B8F18 #7C188F
analogous
#668F18 #2B8F18 #188F40
triadic
#2B8F18 #182B8F #8F182B
tetradic
#2B8F18 #18668F #7C188F #8F4018
square
#2B8F18 #18668F #7C188F #8F4018
split-complementary
#2B8F18 #40188F #8F1866
monochromatic
#0B2606 #1B5B0F #2B8F18 #3BC321 #5BDF42
Accessibility & contrast
On white
4.16
#2B8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#2B8F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B8F18
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B8F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B8F18 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#158A79
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2b8f18; /* rgb */ color: rgb(43, 143, 24); /* oklch */ color: oklch(57.1% 0.176 141.0);
Tailwind
colors: {
custom: {
50: '#74b160',
500: '#2b8f18',
950: '#000000',
},
}SCSS
$custom: #2b8f18; $custom-light: #74b160; $custom-dark: #000000;
JSON
{
"hex": "#2b8f18",
"rgb": {
"r": 43,
"g": 143,
"b": 24
},
"hsl": {
"h": 110.42,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.57061,
"c": 0.17566,
"h": 141
},
"luminance": 0.20224
}Semantic roles & 50–950 ramp
primary
#2B8F18
secondary
#AC43C0
accent
#3AEED1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A