#28641F#28641F
#28641F is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.8% C 0.119 H 141.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #28641F |
|---|---|
| RGB | rgb(40, 100, 31) |
| HSL | hsl(112, 53%, 26%) |
| HSV | hsv(112, 69%, 39%) |
| CMYK | cmyk(60%, 0%, 69%, 60.8%) |
| CIE-LAB | lab(37.23, -33.98, 32.31) |
| CIE-LCH | lch(37.23, 46.89, 136.44°) |
| OKLab | oklab(44.76% -0.0928 0.0747) |
| OKLCH | oklch(44.76% 0.119 141.2) |
| XYZ | xyz(5.6793, 9.6639, 2.8621) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.02
Deep Green
#02590F
ΔE00 4.46
Forest Green
#2D5A27
ΔE00 4.53
Forest
#0B5509
ΔE00 5.30
Pine
#2B5D34
ΔE00 6.35
Navy Green
#35530A
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28641F #5B1F64
analogous
#4A641F #28641F #1F6438
triadic
#28641F #1F2864 #641F28
tetradic
#28641F #1F4A64 #5B1F64 #64381F
square
#28641F #1F4A64 #5B1F64 #64381F
split-complementary
#28641F #381F64 #641F4A
monochromatic
#091707 #153511 #28641F #3B932D #4DC13C
Accessibility & contrast
On white
7.16
#28641F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#28641F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28641F
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28641F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28641F | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#5F5625
Tritanopia (blue-blind)
#206156
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #28641f; /* rgb */ color: rgb(40, 100, 31); /* oklch */ color: oklch(44.8% 0.119 141.2);
Tailwind
colors: {
custom: {
50: '#69915e',
500: '#28641f',
950: '#000000',
},
}SCSS
$custom: #28641f; $custom-light: #69915e; $custom-dark: #000000;
JSON
{
"hex": "#28641f",
"rgb": {
"r": 40,
"g": 100,
"b": 31
},
"hsl": {
"h": 112.174,
"s": 52.672,
"l": 25.686
},
"oklch": {
"l": 0.44757,
"c": 0.11919,
"h": 141.2
},
"luminance": 0.09664
}Semantic roles & 50–950 ramp
primary
#28641F
secondary
#8E4698
accent
#4CDCC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79