#277F1A#277F1A
#277F1A is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.158 H 141.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #277F1A |
|---|---|
| RGB | rgb(39, 127, 26) |
| HSL | hsl(112, 66%, 30%) |
| HSV | hsv(112, 80%, 50%) |
| CMYK | cmyk(69.3%, 0%, 79.5%, 50.2%) |
| CIE-LAB | lab(46.56, -45.07, 43.96) |
| CIE-LCH | lch(46.56, 62.96, 135.71°) |
| OKLab | oklab(52.45% -0.1231 0.0985) |
| OKLCH | oklch(52.45% 0.158 141.3) |
| XYZ | xyz(8.6121, 15.6838, 3.5505) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.45
Green
#008000
ΔE00 2.23
Dark Grass Green
#388004
ΔE00 3.10
Forestgreen (CSS)
#228B22
ΔE00 4.26
Darkish Green
#287C37
ΔE00 4.96
Emerald Green
#028F1E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#277F1A #721A7F
analogous
#5A7F1A #277F1A #1A7F3F
triadic
#277F1A #1A277F #7F1A27
tetradic
#277F1A #1A5A7F #721A7F #7F3F1A
square
#277F1A #1A5A7F #721A7F #7F3F1A
split-complementary
#277F1A #3F1A7F #7F1A5A
monochromatic
#081905 #174C10 #277F1A #37B224 #50D73C
Accessibility & contrast
On white
5.08
#277F1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#277F1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #277F1A
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##277F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##277F1A | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827302
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#157B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #277f1a; /* rgb */ color: rgb(39, 127, 26); /* oklch */ color: oklch(52.4% 0.158 141.3);
Tailwind
colors: {
custom: {
50: '#6fa55f',
500: '#277f1a',
950: '#000000',
},
}SCSS
$custom: #277f1a; $custom-light: #6fa55f; $custom-dark: #000000;
JSON
{
"hex": "#277f1a",
"rgb": {
"r": 39,
"g": 127,
"b": 26
},
"hsl": {
"h": 112.277,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.52448,
"c": 0.1576,
"h": 141.3
},
"luminance": 0.15685
}Semantic roles & 50–950 ramp
primary
#277F1A
secondary
#A442B3
accent
#3FE9D3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79