#28701C#28701C
#28701C is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.137 H 141.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #28701C |
|---|---|
| RGB | rgb(40, 112, 28) |
| HSL | hsl(111, 60%, 27%) |
| HSV | hsv(111, 75%, 44%) |
| CMYK | cmyk(64.3%, 0%, 75%, 56.1%) |
| CIE-LAB | lab(41.41, -39.09, 38.07) |
| CIE-LCH | lch(41.41, 54.57, 135.76°) |
| OKLab | oklab(48.2% -0.1069 0.0864) |
| OKLCH | oklch(48.2% 0.137 141) |
| XYZ | xyz(6.8785, 12.1226, 3.0758) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.78
Tree Green
#2A7E19
ΔE00 5.03
Darkish Green
#287C37
ΔE00 5.41
Green
#008000
ΔE00 6.35
Dark Grass Green
#388004
ΔE00 6.93
Deep Green
#02590F
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28701C #641C70
analogous
#52701C #28701C #1C703A
triadic
#28701C #1C2870 #701C28
tetradic
#28701C #1C5270 #641C70 #703A1C
square
#28701C #1C5270 #641C70 #703A1C
split-complementary
#28701C #3A1C70 #701C52
monochromatic
#091806 #173F10 #28701C #39A128 #4ECD39
Accessibility & contrast
On white
6.13
#28701C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#28701C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28701C
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28701C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28701C | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73650E
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#1D6C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #28701c; /* rgb */ color: rgb(40, 112, 28); /* oklch */ color: oklch(48.2% 0.137 141.0);
Tailwind
colors: {
custom: {
50: '#6c9a5e',
500: '#28701c',
950: '#000000',
},
}SCSS
$custom: #28701c; $custom-light: #6c9a5e; $custom-dark: #000000;
JSON
{
"hex": "#28701c",
"rgb": {
"r": 40,
"g": 112,
"b": 28
},
"hsl": {
"h": 111.429,
"s": 60,
"l": 27.451
},
"oklch": {
"l": 0.48199,
"c": 0.13747,
"h": 141
},
"luminance": 0.12123
}Semantic roles & 50–950 ramp
primary
#28701C
secondary
#9743A5
accent
#45E3CD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79