#31630F#31630F
#31630F is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.7% C 0.124 H 136.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #31630F |
|---|---|
| RGB | rgb(49, 99, 15) |
| HSL | hsl(96, 74%, 22%) |
| HSV | hsv(96, 85%, 39%) |
| CMYK | cmyk(50.5%, 0%, 84.8%, 61.2%) |
| CIE-LAB | lab(37.13, -32.02, 38.84) |
| CIE-LCH | lch(37.13, 50.33, 129.50°) |
| OKLab | oklab(44.74% -0.0893 0.0859) |
| OKLCH | oklch(44.74% 0.124 136.1) |
| XYZ | xyz(5.8145, 9.6108, 2.0005) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.21
Navy Green
#35530A
ΔE00 5.79
Deep Green
#02590F
ΔE00 5.79
Camouflage Green
#4B6113
ΔE00 5.79
Forest
#0B5509
ΔE00 6.01
Forest Green
#2D5A27
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31630F #410F63
analogous
#5B630F #31630F #0F6317
triadic
#31630F #0F3163 #630F31
tetradic
#31630F #0F5B63 #410F63 #63170F
square
#31630F #0F5B63 #410F63 #63170F
split-complementary
#31630F #170F63 #630F5B
monochromatic
#0D1B04 #172E07 #31630F #4B9817 #66CD1F
Accessibility & contrast
On white
7.19
#31630F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#31630F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31630F
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31630F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31630F | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#2F5F54
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #31630f; /* rgb */ color: rgb(49, 99, 15); /* oklch */ color: oklch(44.7% 0.124 136.1);
Tailwind
colors: {
custom: {
50: '#6f9056',
500: '#31630f',
950: '#000000',
},
}SCSS
$custom: #31630f; $custom-light: #6f9056; $custom-dark: #000000;
JSON
{
"hex": "#31630f",
"rgb": {
"r": 49,
"g": 99,
"b": 15
},
"hsl": {
"h": 95.714,
"s": 73.684,
"l": 22.353
},
"oklch": {
"l": 0.44742,
"c": 0.1239,
"h": 136.1
},
"luminance": 0.09611
}Semantic roles & 50–950 ramp
primary
#31630F
secondary
#71329C
accent
#37F0A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78