#305B19#305B19
#305B19 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.5% C 0.107 H 136.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #305B19 |
|---|---|
| RGB | rgb(48, 91, 25) |
| HSL | hsl(99, 57%, 23%) |
| HSV | hsv(99, 73%, 36%) |
| CMYK | cmyk(47.3%, 0%, 72.5%, 64.3%) |
| CIE-LAB | lab(34.36, -28.03, 32.12) |
| CIE-LCH | lch(34.36, 42.63, 131.11°) |
| OKLab | oklab(42.47% -0.0777 0.0734) |
| OKLCH | oklch(42.47% 0.107 136.6) |
| XYZ | xyz(5.1353, 8.1804, 2.2279) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.38
Navy Green
#35530A
ΔE00 3.91
Forest
#0B5509
ΔE00 4.42
Deep Green
#02590F
ΔE00 4.65
Darkgreen
#006400
ΔE00 5.94
Pine
#2B5D34
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305B19 #44195B
analogous
#515B19 #305B19 #195B23
triadic
#305B19 #19305B #5B1930
tetradic
#305B19 #19515B #44195B #5B2319
square
#305B19 #19515B #44195B #5B2319
split-complementary
#305B19 #23195B #5B1951
monochromatic
#0D1807 #172B0C #305B19 #498B26 #63BB33
Accessibility & contrast
On white
7.97
#305B19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#305B19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305B19
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305B19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305B19 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5310
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#2E584E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #305b19; /* rgb */ color: rgb(48, 91, 25); /* oklch */ color: oklch(42.5% 0.107 136.6);
Tailwind
colors: {
custom: {
50: '#6d8a5a',
500: '#305b19',
950: '#000000',
},
}SCSS
$custom: #305b19; $custom-light: #6d8a5a; $custom-dark: #000000;
JSON
{
"hex": "#305b19",
"rgb": {
"r": 48,
"g": 91,
"b": 25
},
"hsl": {
"h": 99.091,
"s": 56.897,
"l": 22.745
},
"oklch": {
"l": 0.4247,
"c": 0.10692,
"h": 136.6
},
"luminance": 0.08181
}Semantic roles & 50–950 ramp
primary
#305B19
secondary
#743F91
accent
#48E0AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B04
muted
#7A7C79