#306A1F#306A1F
#306A1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.8% C 0.123 H 139.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #306A1F |
|---|---|
| RGB | rgb(48, 106, 31) |
| HSL | hsl(106, 55%, 27%) |
| HSV | hsv(106, 71%, 42%) |
| CMYK | cmyk(54.7%, 0%, 70.8%, 58.4%) |
| CIE-LAB | lab(39.64, -34.10, 35.01) |
| CIE-LCH | lch(39.64, 48.87, 134.25°) |
| OKLab | oklab(46.83% -0.0937 0.0804) |
| OKLCH | oklch(46.83% 0.123 139.4) |
| XYZ | xyz(6.6200, 11.0349, 3.0772) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.49
Forest Green
#2D5A27
ΔE00 6.51
Deep Green
#02590F
ΔE00 6.53
Darkish Green
#287C37
ΔE00 6.89
Darkolivegreen
#556B2F
ΔE00 7.22
Tree Green
#2A7E19
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306A1F #591F6A
analogous
#566A1F #306A1F #1F6A34
triadic
#306A1F #1F306A #6A1F30
tetradic
#306A1F #1F566A #591F6A #6A341F
square
#306A1F #1F566A #591F6A #6A341F
split-complementary
#306A1F #341F6A #6A1F56
monochromatic
#0B1807 #1B3B11 #306A1F #45992D #5CC63D
Accessibility & contrast
On white
6.55
#306A1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#306A1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306A1F
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306A1F | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#2A665B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #306a1f; /* rgb */ color: rgb(48, 106, 31); /* oklch */ color: oklch(46.8% 0.123 139.4);
Tailwind
colors: {
custom: {
50: '#6f955f',
500: '#306a1f',
950: '#000000',
},
}SCSS
$custom: #306a1f; $custom-light: #6f955f; $custom-dark: #000000;
JSON
{
"hex": "#306a1f",
"rgb": {
"r": 48,
"g": 106,
"b": 31
},
"hsl": {
"h": 106.4,
"s": 54.745,
"l": 26.863
},
"oklch": {
"l": 0.46826,
"c": 0.12346,
"h": 139.4
},
"luminance": 0.11035
}Semantic roles & 50–950 ramp
primary
#306A1F
secondary
#8A479E
accent
#4ADEBC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79