#306123#306123
#306123 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.107 H 139.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #306123 |
|---|---|
| RGB | rgb(48, 97, 35) |
| HSL | hsl(107, 47%, 26%) |
| HSV | hsv(107, 64%, 38%) |
| CMYK | cmyk(50.5%, 0%, 63.9%, 62%) |
| CIE-LAB | lab(36.55, -29.71, 29.68) |
| CIE-LCH | lch(36.55, 41.99, 135.03°) |
| OKLab | oklab(44.3% -0.0815 0.0695) |
| OKLCH | oklch(44.3% 0.107 139.5) |
| XYZ | xyz(5.7968, 9.2987, 3.0792) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.07
Deep Green
#02590F
ΔE00 4.92
Pine
#2B5D34
ΔE00 5.27
Forest
#0B5509
ΔE00 5.40
Darkgreen
#006400
ΔE00 5.56
Navy Green
#35530A
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306123 #542361
analogous
#4F6123 #306123 #236135
triadic
#306123 #233061 #612330
tetradic
#306123 #234F61 #542361 #613523
square
#306123 #234F61 #542361 #613523
split-complementary
#306123 #352361 #61234F
monochromatic
#0B1608 #1A3413 #306123 #468E33 #5DBB43
Accessibility & contrast
On white
7.34
#306123 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#306123 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306123
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306123 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306123 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64591C
Deuteranopia (green-blind)
#5D5428
Tritanopia (blue-blind)
#2C5E54
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #306123; /* rgb */ color: rgb(48, 97, 35); /* oklch */ color: oklch(44.3% 0.107 139.5);
Tailwind
colors: {
custom: {
50: '#6d8e60',
500: '#306123',
950: '#000000',
},
}SCSS
$custom: #306123; $custom-light: #6d8e60; $custom-dark: #000000;
JSON
{
"hex": "#306123",
"rgb": {
"r": 48,
"g": 97,
"b": 35
},
"hsl": {
"h": 107.419,
"s": 46.97,
"l": 25.882
},
"oklch": {
"l": 0.44304,
"c": 0.10713,
"h": 139.5
},
"luminance": 0.09299
}Semantic roles & 50–950 ramp
primary
#306123
secondary
#854B95
accent
#51D7BB
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79