#277229#277229
#277229 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.131 H 143.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #277229 |
|---|---|
| RGB | rgb(39, 114, 41) |
| HSL | hsl(122, 49%, 30%) |
| HSV | hsv(122, 66%, 45%) |
| CMYK | cmyk(65.8%, 0%, 64%, 55.3%) |
| CIE-LAB | lab(42.19, -38.75, 33.01) |
| CIE-LCH | lch(42.19, 50.90, 139.57°) |
| OKLab | oklab(48.88% -0.1051 0.0774) |
| OKLCH | oklch(48.88% 0.131 143.7) |
| XYZ | xyz(7.2538, 12.6253, 4.1521) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.76
Tree Green
#2A7E19
ΔE00 5.42
Darkgreen
#006400
ΔE00 6.07
Jungle Green
#048243
ΔE00 6.89
Green
#008000
ΔE00 6.93
Dark Grass Green
#388004
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#277229 #722770
analogous
#4A7227 #277229 #27724F
triadic
#277229 #292772 #722927
tetradic
#277229 #274A72 #722770 #724F27
square
#277229 #274A72 #722770 #724F27
split-complementary
#277229 #4F2772 #72274A
monochromatic
#081708 #174419 #277229 #37A039 #50C353
Accessibility & contrast
On white
5.96
#277229 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#277229 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #277229
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##277229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##277229 | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#176F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #277229; /* rgb */ color: rgb(39, 114, 41); /* oklch */ color: oklch(48.9% 0.131 143.7);
Tailwind
colors: {
custom: {
50: '#6b9b66',
500: '#277229',
950: '#000000',
},
}SCSS
$custom: #277229; $custom-light: #6b9b66; $custom-dark: #000000;
JSON
{
"hex": "#277229",
"rgb": {
"r": 39,
"g": 114,
"b": 41
},
"hsl": {
"h": 121.6,
"s": 49.02,
"l": 30
},
"oklch": {
"l": 0.48875,
"c": 0.13053,
"h": 143.7
},
"luminance": 0.12626
}Semantic roles & 50–950 ramp
primary
#277229
secondary
#A450A2
accent
#4FD5D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A