#278B1F#278B1F
#278B1F is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.169 H 142.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #278B1F |
|---|---|
| RGB | rgb(39, 139, 31) |
| HSL | hsl(116, 64%, 33%) |
| HSV | hsv(116, 78%, 55%) |
| CMYK | cmyk(71.9%, 0%, 77.7%, 45.5%) |
| CIE-LAB | lab(50.68, -48.91, 46.24) |
| CIE-LCH | lch(50.68, 67.31, 136.61°) |
| OKLab | oklab(55.88% -0.1332 0.1039) |
| OKLCH | oklch(55.88% 0.169 142) |
| XYZ | xyz(10.3161, 18.9944, 4.4187) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.58
Emerald Green
#028F1E
ΔE00 1.91
True Green
#089404
ΔE00 3.70
Irish Green
#019529
ΔE00 3.74
Kelley Green
#009337
ΔE00 4.38
Green
#008000
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#278B1F #831F8B
analogous
#5D8B1F #278B1F #1F8B4D
triadic
#278B1F #1F278B #8B1F27
tetradic
#278B1F #1F5D8B #831F8B #8B4D1F
square
#278B1F #1F5D8B #831F8B #8B4D1F
split-complementary
#278B1F #4D1F8B #8B1F5D
monochromatic
#0B2709 #195914 #278B1F #35BD2A #57D74D
Accessibility & contrast
On white
4.38
#278B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#278B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #278B1F
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##278B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##278B1F | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#0B8776
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #278b1f; /* rgb */ color: rgb(39, 139, 31); /* oklch */ color: oklch(55.9% 0.169 142.0);
Tailwind
colors: {
custom: {
50: '#71ae63',
500: '#278b1f',
950: '#000000',
},
}SCSS
$custom: #278b1f; $custom-light: #71ae63; $custom-dark: #000000;
JSON
{
"hex": "#278b1f",
"rgb": {
"r": 39,
"g": 139,
"b": 31
},
"hsl": {
"h": 115.556,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.55878,
"c": 0.16894,
"h": 142
},
"luminance": 0.18996
}Semantic roles & 50–950 ramp
primary
#278B1F
secondary
#B24CBA
accent
#41E7DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A