#31641B#31641B
#31641B is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.118 H 137.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #31641B |
|---|---|
| RGB | rgb(49, 100, 27) |
| HSL | hsl(102, 57%, 25%) |
| HSV | hsv(102, 73%, 39%) |
| CMYK | cmyk(51%, 0%, 73%, 60.8%) |
| CIE-LAB | lab(37.56, -31.56, 34.61) |
| CIE-LCH | lch(37.56, 46.84, 132.36°) |
| OKLab | oklab(45.12% -0.0872 0.079) |
| OKLCH | oklch(45.12% 0.118 137.8) |
| XYZ | xyz(6.0214, 9.8460, 2.6199) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.42
Forest Green
#2D5A27
ΔE00 5.11
Deep Green
#02590F
ΔE00 5.40
Forest
#0B5509
ΔE00 5.88
Navy Green
#35530A
ΔE00 6.33
Camouflage Green
#4B6113
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31641B #4E1B64
analogous
#55641B #31641B #1B642A
triadic
#31641B #1B3164 #641B31
tetradic
#31641B #1B5564 #4E1B64 #642A1B
square
#31641B #1B5564 #4E1B64 #642A1B
split-complementary
#31641B #2A1B64 #641B55
monochromatic
#0C1807 #19340E #31641B #499428 #60C435
Accessibility & contrast
On white
7.07
#31641B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#31641B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31641B
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31641B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31641B | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B10
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#2E6055
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #31641b; /* rgb */ color: rgb(49, 100, 27); /* oklch */ color: oklch(45.1% 0.118 137.8);
Tailwind
colors: {
custom: {
50: '#6e905c',
500: '#31641b',
950: '#000000',
},
}SCSS
$custom: #31641b; $custom-light: #6e905c; $custom-dark: #000000;
JSON
{
"hex": "#31641b",
"rgb": {
"r": 49,
"g": 100,
"b": 27
},
"hsl": {
"h": 101.918,
"s": 57.48,
"l": 24.902
},
"oklch": {
"l": 0.45122,
"c": 0.11764,
"h": 137.8
},
"luminance": 0.09846
}Semantic roles & 50–950 ramp
primary
#31641B
secondary
#7F4199
accent
#47E1B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79