#28762E#28762E
#28762E is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.131 H 144.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #28762E |
|---|---|
| RGB | rgb(40, 118, 46) |
| HSL | hsl(125, 49%, 31%) |
| HSV | hsv(125, 66%, 46%) |
| CMYK | cmyk(66.1%, 0%, 61%, 53.7%) |
| CIE-LAB | lab(43.66, -39.45, 32.23) |
| CIE-LCH | lch(43.66, 50.94, 140.75°) |
| OKLab | oklab(50.11% -0.1068 0.0761) |
| OKLCH | oklch(50.11% 0.131 144.5) |
| XYZ | xyz(7.8462, 13.6045, 4.7967) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.33
Tree Green
#2A7E19
ΔE00 4.83
Jungle Green
#048243
ΔE00 5.59
Green
#008000
ΔE00 6.46
Darkgreen
#006400
ΔE00 7.39
Dark Grass Green
#388004
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28762E #762870
analogous
#497628 #28762E #287655
triadic
#28762E #2E2876 #762E28
tetradic
#28762E #284976 #762870 #765528
square
#28762E #284976 #762870 #765528
split-complementary
#28762E #552876 #762849
monochromatic
#091B0A #19481C #28762E #37A440 #54C55C
Accessibility & contrast
On white
5.64
#28762E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#28762E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28762E
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28762E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28762E | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B27
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#167366
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #28762e; /* rgb */ color: rgb(40, 118, 46); /* oklch */ color: oklch(50.1% 0.131 144.5);
Tailwind
colors: {
custom: {
50: '#6c9e69',
500: '#28762e',
950: '#000000',
},
}SCSS
$custom: #28762e; $custom-light: #6c9e69; $custom-dark: #000000;
JSON
{
"hex": "#28762e",
"rgb": {
"r": 40,
"g": 118,
"b": 46
},
"hsl": {
"h": 124.615,
"s": 49.367,
"l": 30.98
},
"oklch": {
"l": 0.50113,
"c": 0.1312,
"h": 144.5
},
"luminance": 0.13605
}Semantic roles & 50–950 ramp
primary
#28762E
secondary
#A852A1
accent
#4FCED9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A