#2F8A1B#2F8A1B
#2F8A1B is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.167 H 140.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8A1B |
|---|---|
| RGB | rgb(47, 138, 27) |
| HSL | hsl(109, 67%, 32%) |
| HSV | hsv(109, 80%, 54%) |
| CMYK | cmyk(65.9%, 0%, 80.4%, 45.9%) |
| CIE-LAB | lab(50.52, -47.14, 47.52) |
| CIE-LCH | lch(50.52, 66.93, 134.77°) |
| OKLab | oklab(55.8% -0.1291 0.1059) |
| OKLCH | oklch(55.8% 0.167 140.6) |
| XYZ | xyz(10.4581, 18.8594, 4.1258) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.49
Emerald Green
#028F1E
ΔE00 2.70
True Green
#089404
ΔE00 3.92
Dark Grass Green
#388004
ΔE00 4.04
Tree Green
#2A7E19
ΔE00 4.36
Irish Green
#019529
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8A1B #761B8A
analogous
#678A1B #2F8A1B #1B8A3E
triadic
#2F8A1B #1B2F8A #8A1B2F
tetradic
#2F8A1B #1B678A #761B8A #8A3E1B
square
#2F8A1B #1B678A #761B8A #8A3E1B
split-complementary
#2F8A1B #3E1B8A #8A1B67
monochromatic
#0C2407 #1E5711 #2F8A1B #40BD25 #60DB45
Accessibility & contrast
On white
4.40
#2F8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#2F8A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8A1B
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8A1B | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#208575
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f8a1b; /* rgb */ color: rgb(47, 138, 27); /* oklch */ color: oklch(55.8% 0.167 140.6);
Tailwind
colors: {
custom: {
50: '#75ad61',
500: '#2f8a1b',
950: '#000000',
},
}SCSS
$custom: #2f8a1b; $custom-light: #75ad61; $custom-dark: #000000;
JSON
{
"hex": "#2f8a1b",
"rgb": {
"r": 47,
"g": 138,
"b": 27
},
"hsl": {
"h": 109.189,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.55797,
"c": 0.16701,
"h": 140.6
},
"luminance": 0.1886
}Semantic roles & 50–950 ramp
primary
#2F8A1B
secondary
#A745BC
accent
#3EEACB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A