#30631C#30631C
#30631C is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.116 H 138.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #30631C |
|---|---|
| RGB | rgb(48, 99, 28) |
| HSL | hsl(103, 56%, 25%) |
| HSV | hsv(103, 72%, 39%) |
| CMYK | cmyk(51.5%, 0%, 71.7%, 61.2%) |
| CIE-LAB | lab(37.18, -31.36, 33.75) |
| CIE-LCH | lch(37.18, 46.07, 132.90°) |
| OKLab | oklab(44.8% -0.0865 0.0773) |
| OKLCH | oklch(44.8% 0.116 138.2) |
| XYZ | xyz(5.8902, 9.6355, 2.6478) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.49
Forest Green
#2D5A27
ΔE00 4.66
Deep Green
#02590F
ΔE00 5.08
Forest
#0B5509
ΔE00 5.56
Navy Green
#35530A
ΔE00 6.17
Camouflage Green
#4B6113
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30631C #4F1C63
analogous
#53631C #30631C #1C632C
triadic
#30631C #1C3063 #631C30
tetradic
#30631C #1C5363 #4F1C63 #632C1C
square
#30631C #1C5363 #4F1C63 #632C1C
split-complementary
#30631C #2C1C63 #631C53
monochromatic
#0C1807 #19330F #30631C #479329 #5EC237
Accessibility & contrast
On white
7.17
#30631C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#30631C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30631C
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30631C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30631C | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A12
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#2C5F55
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #30631c; /* rgb */ color: rgb(48, 99, 28); /* oklch */ color: oklch(44.8% 0.116 138.2);
Tailwind
colors: {
custom: {
50: '#6e905c',
500: '#30631c',
950: '#000000',
},
}SCSS
$custom: #30631c; $custom-light: #6e905c; $custom-dark: #000000;
JSON
{
"hex": "#30631c",
"rgb": {
"r": 48,
"g": 99,
"b": 28
},
"hsl": {
"h": 103.099,
"s": 55.906,
"l": 24.902
},
"oklch": {
"l": 0.44796,
"c": 0.11601,
"h": 138.2
},
"luminance": 0.09636
}Semantic roles & 50–950 ramp
primary
#30631C
secondary
#804398
accent
#49DFB5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79