#28774E#28774E
#28774E is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.0% C 0.101 H 157.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #28774E |
|---|---|
| RGB | rgb(40, 119, 78) |
| HSL | hsl(149, 50%, 31%) |
| HSV | hsv(149, 66%, 47%) |
| CMYK | cmyk(66.4%, 0%, 34.5%, 53.3%) |
| CIE-LAB | lab(44.51, -34.23, 15.68) |
| CIE-LCH | lch(44.51, 37.65, 155.38°) |
| OKLab | oklab(50.98% -0.093 0.0396) |
| OKLCH | oklch(50.98% 0.101 157) |
| XYZ | xyz(8.8462, 14.1939, 9.4797) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.93
Jungle Green
#048243
ΔE00 5.94
Darkish Green
#287C37
ΔE00 6.57
Sea Green
#2E8B57
ΔE00 7.39
Spruce
#0A5F38
ΔE00 8.28
Dark Sage
#598556
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28774E #772851
analogous
#297728 #28774E #287775
triadic
#28774E #4E2877 #774E28
tetradic
#28774E #282977 #772851 #777528
square
#28774E #282977 #772851 #777528
split-complementary
#28774E #752877 #772829
monochromatic
#091B12 #194930 #28774E #37A56C #54C58B
Accessibility & contrast
On white
5.47
#28774E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#28774E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28774E
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28774E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28774E | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766E4B
Deuteranopia (green-blind)
#6C6651
Tritanopia (blue-blind)
#00766C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #28774e; /* rgb */ color: rgb(40, 119, 78); /* oklch */ color: oklch(51.0% 0.101 157.0);
Tailwind
colors: {
custom: {
50: '#6c9f7f',
500: '#28774e',
950: '#000000',
},
}SCSS
$custom: #28774e; $custom-light: #6c9f7f; $custom-dark: #000000;
JSON
{
"hex": "#28774e",
"rgb": {
"r": 40,
"g": 119,
"b": 78
},
"hsl": {
"h": 148.861,
"s": 49.686,
"l": 31.176
},
"oklch": {
"l": 0.50979,
"c": 0.10109,
"h": 157
},
"luminance": 0.14195
}Semantic roles & 50–950 ramp
primary
#28774E
secondary
#A9527F
accent
#4F97D9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C