#278A1B#278A1B
#278A1B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.170 H 141.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #278A1B |
|---|---|
| RGB | rgb(39, 138, 27) |
| HSL | hsl(114, 67%, 32%) |
| HSV | hsv(114, 80%, 54%) |
| CMYK | cmyk(71.7%, 0%, 80.4%, 45.9%) |
| CIE-LAB | lab(50.32, -48.85, 47.25) |
| CIE-LCH | lch(50.32, 67.96, 135.95°) |
| OKLab | oklab(55.57% -0.1332 0.1055) |
| OKLCH | oklch(55.57% 0.17 141.6) |
| XYZ | xyz(10.1224, 18.6863, 4.1101) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.97
Emerald Green
#028F1E
ΔE00 2.23
True Green
#089404
ΔE00 3.84
Green
#008000
ΔE00 4.16
Irish Green
#019529
ΔE00 4.17
Tree Green
#2A7E19
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#278A1B #7E1B8A
analogous
#5E8A1B #278A1B #1B8A47
triadic
#278A1B #1B278A #8A1B27
tetradic
#278A1B #1B5E8A #7E1B8A #8A471B
square
#278A1B #1B5E8A #7E1B8A #8A471B
split-complementary
#278A1B #471B8A #8A1B5E
monochromatic
#0A2407 #195711 #278A1B #35BD25 #55DB45
Accessibility & contrast
On white
4.43
#278A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#278A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #278A1B
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##278A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##278A1B | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#0D8675
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #278a1b; /* rgb */ color: rgb(39, 138, 27); /* oklch */ color: oklch(55.6% 0.170 141.6);
Tailwind
colors: {
custom: {
50: '#71ad61',
500: '#278a1b',
950: '#000000',
},
}SCSS
$custom: #278a1b; $custom-light: #71ad61; $custom-dark: #000000;
JSON
{
"hex": "#278a1b",
"rgb": {
"r": 39,
"g": 138,
"b": 27
},
"hsl": {
"h": 113.514,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.55569,
"c": 0.16993,
"h": 141.6
},
"luminance": 0.18687
}Semantic roles & 50–950 ramp
primary
#278A1B
secondary
#AF45BC
accent
#3EEAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A