#278A1F#278A1F
#278A1F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.168 H 142.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #278A1F |
|---|---|
| RGB | rgb(39, 138, 31) |
| HSL | hsl(116, 63%, 33%) |
| HSV | hsv(116, 78%, 54%) |
| CMYK | cmyk(71.7%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(50.34, -48.57, 45.90) |
| CIE-LCH | lch(50.34, 66.83, 136.62°) |
| OKLab | oklab(55.6% -0.1323 0.1032) |
| OKLCH | oklch(55.6% 0.168 142) |
| XYZ | xyz(10.1719, 18.7061, 4.3706) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.62
Emerald Green
#028F1E
ΔE00 2.15
True Green
#089404
ΔE00 4.02
Irish Green
#019529
ΔE00 4.04
Tree Green
#2A7E19
ΔE00 4.25
Green
#008000
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#278A1F #821F8A
analogous
#5C8A1F #278A1F #1F8A4C
triadic
#278A1F #1F278A #8A1F27
tetradic
#278A1F #1F5C8A #821F8A #8A4C1F
square
#278A1F #1F5C8A #821F8A #8A4C1F
split-complementary
#278A1F #4C1F8A #8A1F5C
monochromatic
#0B2609 #195814 #278A1F #35BC2A #57D74C
Accessibility & contrast
On white
4.43
#278A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#278A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #278A1F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##278A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##278A1F | 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)
#8D7D07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#0C8676
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #278a1f; /* rgb */ color: rgb(39, 138, 31); /* oklch */ color: oklch(55.6% 0.168 142.0);
Tailwind
colors: {
custom: {
50: '#71ad63',
500: '#278a1f',
950: '#000000',
},
}SCSS
$custom: #278a1f; $custom-light: #71ad63; $custom-dark: #000000;
JSON
{
"hex": "#278a1f",
"rgb": {
"r": 39,
"g": 138,
"b": 31
},
"hsl": {
"h": 115.514,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.55596,
"c": 0.16778,
"h": 142
},
"luminance": 0.18707
}Semantic roles & 50–950 ramp
primary
#278A1F
secondary
#B14BBA
accent
#41E6DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A