#27731E#27731E
#27731E is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.140 H 141.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #27731E |
|---|---|
| RGB | rgb(39, 115, 30) |
| HSL | hsl(114, 59%, 28%) |
| HSV | hsv(114, 74%, 45%) |
| CMYK | cmyk(66.1%, 0%, 73.9%, 54.9%) |
| CIE-LAB | lab(42.44, -40.32, 38.30) |
| CIE-LCH | lch(42.44, 55.61, 136.47°) |
| OKLab | oklab(49.05% -0.11 0.0872) |
| OKLCH | oklch(49.05% 0.14 141.6) |
| XYZ | xyz(7.2014, 12.7858, 3.3164) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.11
Darkish Green
#287C37
ΔE00 4.63
Green
#008000
ΔE00 5.50
Darkgreen
#006400
ΔE00 5.59
Dark Grass Green
#388004
ΔE00 6.25
Jungle Green
#048243
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27731E #6A1E73
analogous
#51731E #27731E #1E733F
triadic
#27731E #1E2773 #731E27
tetradic
#27731E #1E5173 #6A1E73 #733F1E
square
#27731E #1E5173 #6A1E73 #733F1E
split-complementary
#27731E #3F1E73 #731E51
monochromatic
#081806 #174211 #27731E #37A42B #4ECD3F
Accessibility & contrast
On white
5.90
#27731E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#27731E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #27731E
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27731E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27731E | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#196F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #27731e; /* rgb */ color: rgb(39, 115, 30); /* oklch */ color: oklch(49.0% 0.140 141.6);
Tailwind
colors: {
custom: {
50: '#6c9c5f',
500: '#27731e',
950: '#000000',
},
}SCSS
$custom: #27731e; $custom-light: #6c9c5f; $custom-dark: #000000;
JSON
{
"hex": "#27731e",
"rgb": {
"r": 39,
"g": 115,
"b": 30
},
"hsl": {
"h": 113.647,
"s": 58.621,
"l": 28.431
},
"oklch": {
"l": 0.49046,
"c": 0.14038,
"h": 141.6
},
"luminance": 0.12787
}Semantic roles & 50–950 ramp
primary
#27731E
secondary
#9D46A7
accent
#46E2D1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79