#277F42#277F42
#277F42 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.125 H 149.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #277F42 |
|---|---|
| RGB | rgb(39, 127, 66) |
| HSL | hsl(138, 53%, 33%) |
| HSV | hsv(138, 69%, 50%) |
| CMYK | cmyk(69.3%, 0%, 48%, 50.2%) |
| CIE-LAB | lab(46.98, -40.16, 25.71) |
| CIE-LCH | lch(46.98, 47.69, 147.37°) |
| OKLab | oklab(52.93% -0.1082 0.0629) |
| OKLCH | oklch(52.93% 0.125 149.8) |
| XYZ | xyz(9.4087, 16.0024, 7.7461) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.98
Darkish Green
#287C37
ΔE00 2.22
Sea Green
#2E8B57
ΔE00 5.25
Dark Sea Green
#11875D
ΔE00 6.39
Tree Green
#2A7E19
ΔE00 6.95
Dark Sage
#598556
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#277F42 #7F2764
analogous
#387F27 #277F42 #277F6E
triadic
#277F42 #42277F #7F4227
tetradic
#277F42 #27387F #7F2764 #7F6E27
square
#277F42 #27387F #7F2764 #7F6E27
split-complementary
#277F42 #6E277F #7F2738
monochromatic
#0A2111 #19502A #277F42 #35AE5A #55CB7A
Accessibility & contrast
On white
5.00
#277F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#277F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #277F42
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##277F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##277F42 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #277f42; /* rgb */ color: rgb(39, 127, 66); /* oklch */ color: oklch(52.9% 0.125 149.8);
Tailwind
colors: {
custom: {
50: '#6da577',
500: '#277f42',
950: '#000000',
},
}SCSS
$custom: #277f42; $custom-light: #6da577; $custom-dark: #000000;
JSON
{
"hex": "#277f42",
"rgb": {
"r": 39,
"g": 127,
"b": 66
},
"hsl": {
"h": 138.409,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.52931,
"c": 0.12521,
"h": 149.8
},
"luminance": 0.16003
}Semantic roles & 50–950 ramp
primary
#277F42
secondary
#B05293
accent
#4BB0DC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B