#31671C#31671C
#31671C is a mid, vivid green. Relative luminance 0.104; OKLCH L 46.0% C 0.121 H 138.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #31671C |
|---|---|
| RGB | rgb(49, 103, 28) |
| HSL | hsl(103, 57%, 26%) |
| HSV | hsv(103, 73%, 40%) |
| CMYK | cmyk(52.4%, 0%, 72.8%, 59.6%) |
| CIE-LAB | lab(38.62, -32.78, 35.28) |
| CIE-LCH | lch(38.62, 48.16, 132.90°) |
| OKLab | oklab(45.99% -0.0904 0.0805) |
| OKLCH | oklch(45.99% 0.121 138.3) |
| XYZ | xyz(6.3262, 10.4369, 2.7795) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.31
Forest Green
#2D5A27
ΔE00 5.89
Deep Green
#02590F
ΔE00 5.97
Forest
#0B5509
ΔE00 6.61
Camouflage Green
#4B6113
ΔE00 6.88
Darkolivegreen
#556B2F
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31671C #521C67
analogous
#56671C #31671C #1C672C
triadic
#31671C #1C3167 #671C31
tetradic
#31671C #1C5667 #521C67 #672C1C
square
#31671C #1C5667 #521C67 #672C1C
split-complementary
#31671C #2C1C67 #671C56
monochromatic
#0B1807 #1A370F #31671C #489729 #5FC736
Accessibility & contrast
On white
6.80
#31671C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#31671C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31671C
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31671C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31671C | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E11
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #31671c; /* rgb */ color: rgb(49, 103, 28); /* oklch */ color: oklch(46.0% 0.121 138.3);
Tailwind
colors: {
custom: {
50: '#6f935d',
500: '#31671c',
950: '#000000',
},
}SCSS
$custom: #31671c; $custom-light: #6f935d; $custom-dark: #000000;
JSON
{
"hex": "#31671c",
"rgb": {
"r": 49,
"g": 103,
"b": 28
},
"hsl": {
"h": 103.2,
"s": 57.252,
"l": 25.686
},
"oklch": {
"l": 0.45988,
"c": 0.12106,
"h": 138.3
},
"luminance": 0.10437
}Semantic roles & 50–950 ramp
primary
#31671C
secondary
#83439C
accent
#47E1B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79