#2E641F#2E641F
#2E641F is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.116 H 139.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2E641F |
|---|---|
| RGB | rgb(46, 100, 31) |
| HSL | hsl(107, 53%, 26%) |
| HSV | hsv(107, 69%, 39%) |
| CMYK | cmyk(54%, 0%, 69%, 60.8%) |
| CIE-LAB | lab(37.47, -32.15, 32.64) |
| CIE-LCH | lch(37.47, 45.82, 134.57°) |
| OKLab | oklab(45.02% -0.0883 0.0754) |
| OKLCH | oklch(45.02% 0.116 139.5) |
| XYZ | xyz(5.9310, 9.7937, 2.8739) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.45
Forest Green
#2D5A27
ΔE00 4.53
Deep Green
#02590F
ΔE00 5.00
Forest
#0B5509
ΔE00 5.65
Pine
#2B5D34
ΔE00 6.53
Navy Green
#35530A
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E641F #551F64
analogous
#50641F #2E641F #1F6432
triadic
#2E641F #1F2E64 #641F2E
tetradic
#2E641F #1F5064 #551F64 #64321F
square
#2E641F #1F5064 #551F64 #64321F
split-complementary
#2E641F #321F64 #641F50
monochromatic
#0B1707 #193511 #2E641F #43932D #59C13C
Accessibility & contrast
On white
7.10
#2E641F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2E641F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E641F
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E641F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E641F | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#296156
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e641f; /* rgb */ color: rgb(46, 100, 31); /* oklch */ color: oklch(45.0% 0.116 139.5);
Tailwind
colors: {
custom: {
50: '#6c915e',
500: '#2e641f',
950: '#000000',
},
}SCSS
$custom: #2e641f; $custom-light: #6c915e; $custom-dark: #000000;
JSON
{
"hex": "#2e641f",
"rgb": {
"r": 46,
"g": 100,
"b": 31
},
"hsl": {
"h": 106.957,
"s": 52.672,
"l": 25.686
},
"oklch": {
"l": 0.45019,
"c": 0.1161,
"h": 139.5
},
"luminance": 0.09794
}Semantic roles & 50–950 ramp
primary
#2E641F
secondary
#874698
accent
#4CDCBD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79