#277F1C#277F1C
#277F1C is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.156 H 141.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #277F1C |
|---|---|
| RGB | rgb(39, 127, 28) |
| HSL | hsl(113, 64%, 30%) |
| HSV | hsv(113, 78%, 50%) |
| CMYK | cmyk(69.3%, 0%, 78%, 50.2%) |
| CIE-LAB | lab(46.57, -44.92, 43.26) |
| CIE-LCH | lch(46.57, 62.36, 136.08°) |
| OKLab | oklab(52.46% -0.1226 0.0973) |
| OKLCH | oklch(52.46% 0.156 141.6) |
| XYZ | xyz(8.6352, 15.6930, 3.6724) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.58
Green
#008000
ΔE00 2.38
Dark Grass Green
#388004
ΔE00 3.29
Forestgreen (CSS)
#228B22
ΔE00 4.25
Darkish Green
#287C37
ΔE00 4.74
Emerald Green
#028F1E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#277F1C #741C7F
analogous
#597F1C #277F1C #1C7F42
triadic
#277F1C #1C277F #7F1C27
tetradic
#277F1C #1C597F #741C7F #7F421C
square
#277F1C #1C597F #741C7F #7F421C
split-complementary
#277F1C #421C7F #7F1C59
monochromatic
#081B06 #184D11 #277F1C #36B127 #51D540
Accessibility & contrast
On white
5.07
#277F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#277F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #277F1C
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##277F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##277F1C | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827306
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#147B6C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #277f1c; /* rgb */ color: rgb(39, 127, 28); /* oklch */ color: oklch(52.5% 0.156 141.6);
Tailwind
colors: {
custom: {
50: '#6fa560',
500: '#277f1c',
950: '#000000',
},
}SCSS
$custom: #277f1c; $custom-light: #6fa560; $custom-dark: #000000;
JSON
{
"hex": "#277f1c",
"rgb": {
"r": 39,
"g": 127,
"b": 28
},
"hsl": {
"h": 113.333,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.52462,
"c": 0.15648,
"h": 141.6
},
"luminance": 0.15694
}Semantic roles & 50–950 ramp
primary
#277F1C
secondary
#A644B3
accent
#41E7D4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79