#27781F#27781F
#27781F is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.146 H 141.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #27781F |
|---|---|
| RGB | rgb(39, 120, 31) |
| HSL | hsl(115, 59%, 30%) |
| HSV | hsv(115, 74%, 47%) |
| CMYK | cmyk(67.5%, 0%, 74.2%, 52.9%) |
| CIE-LAB | lab(44.18, -42.11, 39.68) |
| CIE-LCH | lch(44.18, 57.86, 136.70°) |
| OKLab | oklab(50.49% -0.1148 0.0902) |
| OKLCH | oklch(50.49% 0.146 141.8) |
| XYZ | xyz(7.8001, 13.9624, 3.5800) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.47
Darkish Green
#287C37
ΔE00 3.96
Green
#008000
ΔE00 4.08
Dark Grass Green
#388004
ΔE00 4.96
Forestgreen (CSS)
#228B22
ΔE00 6.75
Darkgreen
#006400
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27781F #701F78
analogous
#54781F #27781F #1F7844
triadic
#27781F #1F2778 #781F27
tetradic
#27781F #1F5478 #701F78 #78441F
square
#27781F #1F5478 #701F78 #78441F
split-complementary
#27781F #441F78 #781F54
monochromatic
#081806 #174712 #27781F #37A92C #50CE43
Accessibility & contrast
On white
5.54
#27781F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#27781F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #27781F
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27781F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27781F | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C10
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#177466
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #27781f; /* rgb */ color: rgb(39, 120, 31); /* oklch */ color: oklch(50.5% 0.146 141.8);
Tailwind
colors: {
custom: {
50: '#6da060',
500: '#27781f',
950: '#000000',
},
}SCSS
$custom: #27781f; $custom-light: #6da060; $custom-dark: #000000;
JSON
{
"hex": "#27781f",
"rgb": {
"r": 39,
"g": 120,
"b": 31
},
"hsl": {
"h": 114.607,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.50488,
"c": 0.14602,
"h": 141.8
},
"luminance": 0.13963
}Semantic roles & 50–950 ramp
primary
#27781F
secondary
#A247AB
accent
#46E2D4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79