#28791A#28791A
#28791A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.150 H 141.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #28791A |
|---|---|
| RGB | rgb(40, 121, 26) |
| HSL | hsl(111, 65%, 29%) |
| HSV | hsv(111, 79%, 47%) |
| CMYK | cmyk(66.9%, 0%, 78.5%, 52.5%) |
| CIE-LAB | lab(44.52, -42.66, 41.97) |
| CIE-LCH | lch(44.52, 59.85, 135.46°) |
| OKLab | oklab(50.77% -0.1166 0.0943) |
| OKLCH | oklch(50.77% 0.15 141) |
| XYZ | xyz(7.8985, 14.1997, 3.3016) |
| Luminance | 0.1420 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.83
Green
#008000
ΔE00 3.45
Dark Grass Green
#388004
ΔE00 4.17
Darkish Green
#287C37
ΔE00 4.60
Forestgreen (CSS)
#228B22
ΔE00 6.35
Darkgreen
#006400
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28791A #6B1A79
analogous
#58791A #28791A #1A793C
triadic
#28791A #1A2879 #791A28
tetradic
#28791A #1A5879 #6B1A79 #793C1A
square
#28791A #1A5879 #6B1A79 #793C1A
split-complementary
#28791A #3C1A79 #791A58
monochromatic
#081905 #17470F #28791A #39AB25 #50D439
Accessibility & contrast
On white
5.47
#28791A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#28791A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28791A
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28791A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28791A | 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)
#7C6D05
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#1A7567
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #28791a; /* rgb */ color: rgb(40, 121, 26); /* oklch */ color: oklch(50.8% 0.150 141.0);
Tailwind
colors: {
custom: {
50: '#6ea15e',
500: '#28791a',
950: '#000000',
},
}SCSS
$custom: #28791a; $custom-light: #6ea15e; $custom-dark: #000000;
JSON
{
"hex": "#28791a",
"rgb": {
"r": 40,
"g": 121,
"b": 26
},
"hsl": {
"h": 111.158,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.50766,
"c": 0.14999,
"h": 141
},
"luminance": 0.142
}Semantic roles & 50–950 ramp
primary
#28791A
secondary
#9D41AD
accent
#40E8CF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79