#28631C#28631C
#28631C is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.120 H 140.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #28631C |
|---|---|
| RGB | rgb(40, 99, 28) |
| HSL | hsl(110, 56%, 25%) |
| HSV | hsv(110, 72%, 39%) |
| CMYK | cmyk(59.6%, 0%, 71.7%, 61.2%) |
| CIE-LAB | lab(36.85, -33.87, 33.30) |
| CIE-LCH | lch(36.85, 47.50, 135.49°) |
| OKLab | oklab(44.44% -0.0928 0.0764) |
| OKLCH | oklch(44.44% 0.12 140.5) |
| XYZ | xyz(5.5463, 9.4582, 2.6317) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.78
Deep Green
#02590F
ΔE00 4.23
Forest Green
#2D5A27
ΔE00 4.57
Forest
#0B5509
ΔE00 4.97
Pine
#2B5D34
ΔE00 6.63
Navy Green
#35530A
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28631C #571C63
analogous
#4C631C #28631C #1C6333
triadic
#28631C #1C2863 #631C28
tetradic
#28631C #1C4C63 #571C63 #63331C
square
#28631C #1C4C63 #571C63 #63331C
split-complementary
#28631C #331C63 #631C4C
monochromatic
#0A1807 #15330F #28631C #3B9329 #4FC237
Accessibility & contrast
On white
7.26
#28631C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#28631C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28631C
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28631C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28631C | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A12
Deuteranopia (green-blind)
#5E5522
Tritanopia (blue-blind)
#216055
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #28631c; /* rgb */ color: rgb(40, 99, 28); /* oklch */ color: oklch(44.4% 0.120 140.5);
Tailwind
colors: {
custom: {
50: '#69905c',
500: '#28631c',
950: '#000000',
},
}SCSS
$custom: #28631c; $custom-light: #69905c; $custom-dark: #000000;
JSON
{
"hex": "#28631c",
"rgb": {
"r": 40,
"g": 99,
"b": 28
},
"hsl": {
"h": 109.859,
"s": 55.906,
"l": 24.902
},
"oklch": {
"l": 0.44435,
"c": 0.1202,
"h": 140.5
},
"luminance": 0.09459
}Semantic roles & 50–950 ramp
primary
#28631C
secondary
#8A4398
accent
#49DFC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79