#28742E#28742E
#28742E is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.128 H 144.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #28742E |
|---|---|
| RGB | rgb(40, 116, 46) |
| HSL | hsl(125, 49%, 31%) |
| HSV | hsv(125, 66%, 45%) |
| CMYK | cmyk(65.5%, 0%, 60.3%, 54.5%) |
| CIE-LAB | lab(42.97, -38.65, 31.42) |
| CIE-LCH | lch(42.97, 49.81, 140.89°) |
| OKLab | oklab(49.54% -0.1047 0.0744) |
| OKLCH | oklch(49.54% 0.128 144.6) |
| XYZ | xyz(7.6131, 13.1384, 4.7190) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.89
Tree Green
#2A7E19
ΔE00 5.43
Jungle Green
#048243
ΔE00 6.00
Darkgreen
#006400
ΔE00 6.99
Green
#008000
ΔE00 7.02
Dark Grass Green
#388004
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28742E #74286E
analogous
#487428 #28742E #287454
triadic
#28742E #2E2874 #742E28
tetradic
#28742E #284874 #74286E #745428
square
#28742E #284874 #74286E #745428
split-complementary
#28742E #542874 #742848
monochromatic
#09190A #18461C #28742E #38A240 #53C45C
Accessibility & contrast
On white
5.79
#28742E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#28742E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28742E
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28742E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28742E | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766927
Deuteranopia (green-blind)
#6D6334
Tritanopia (blue-blind)
#177165
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #28742e; /* rgb */ color: rgb(40, 116, 46); /* oklch */ color: oklch(49.5% 0.128 144.6);
Tailwind
colors: {
custom: {
50: '#6c9d69',
500: '#28742e',
950: '#000000',
},
}SCSS
$custom: #28742e; $custom-light: #6c9d69; $custom-dark: #000000;
JSON
{
"hex": "#28742e",
"rgb": {
"r": 40,
"g": 116,
"b": 46
},
"hsl": {
"h": 124.737,
"s": 48.718,
"l": 30.588
},
"oklch": {
"l": 0.49544,
"c": 0.12844,
"h": 144.6
},
"luminance": 0.13139
}Semantic roles & 50–950 ramp
primary
#28742E
secondary
#A6529F
accent
#50CDD8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A