#278C1F#278C1F
#278C1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.170 H 142.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #278C1F |
|---|---|
| RGB | rgb(39, 140, 31) |
| HSL | hsl(116, 64%, 34%) |
| HSV | hsv(116, 78%, 55%) |
| CMYK | cmyk(72.1%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(51.02, -49.26, 46.57) |
| CIE-LCH | lch(51.02, 67.79, 136.61°) |
| OKLab | oklab(56.16% -0.1341 0.1046) |
| OKLCH | oklch(56.16% 0.17 142) |
| XYZ | xyz(10.4615, 19.2853, 4.4672) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.74
Emerald Green
#028F1E
ΔE00 1.70
True Green
#089404
ΔE00 3.39
Irish Green
#019529
ΔE00 3.45
Kelley Green
#009337
ΔE00 4.22
Green
#008000
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#278C1F #841F8C
analogous
#5D8C1F #278C1F #1F8C4D
triadic
#278C1F #1F278C #8C1F27
tetradic
#278C1F #1F5D8C #841F8C #8C4D1F
square
#278C1F #1F5D8C #841F8C #8C4D1F
split-complementary
#278C1F #4D1F8C #8C1F5D
monochromatic
#0B2809 #195A14 #278C1F #35BE2A #58D84E
Accessibility & contrast
On white
4.32
#278C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#278C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #278C1F
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##278C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##278C1F | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#0A8877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #278c1f; /* rgb */ color: rgb(39, 140, 31); /* oklch */ color: oklch(56.2% 0.170 142.0);
Tailwind
colors: {
custom: {
50: '#72af63',
500: '#278c1f',
950: '#000000',
},
}SCSS
$custom: #278c1f; $custom-light: #72af63; $custom-dark: #000000;
JSON
{
"hex": "#278c1f",
"rgb": {
"r": 39,
"g": 140,
"b": 31
},
"hsl": {
"h": 115.596,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.56159,
"c": 0.17011,
"h": 142
},
"luminance": 0.19286
}Semantic roles & 50–950 ramp
primary
#278C1F
secondary
#B24CBB
accent
#41E7DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A