#306E1F#306E1F
#306E1F is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.129 H 139.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #306E1F |
|---|---|
| RGB | rgb(48, 110, 31) |
| HSL | hsl(107, 56%, 28%) |
| HSV | hsv(107, 72%, 43%) |
| CMYK | cmyk(56.4%, 0%, 71.8%, 56.9%) |
| CIE-LAB | lab(41.02, -35.79, 36.48) |
| CIE-LCH | lch(41.02, 51.10, 134.45°) |
| OKLab | oklab(47.97% -0.0983 0.0834) |
| OKLCH | oklch(47.97% 0.129 139.7) |
| XYZ | xyz(7.0419, 11.8786, 3.2178) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.97
Tree Green
#2A7E19
ΔE00 5.83
Darkish Green
#287C37
ΔE00 5.88
Green
#008000
ΔE00 7.36
Darkolivegreen
#556B2F
ΔE00 7.47
Dark Grass Green
#388004
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306E1F #5D1F6E
analogous
#576E1F #306E1F #1F6E36
triadic
#306E1F #1F306E #6E1F30
tetradic
#306E1F #1F576E #5D1F6E #6E361F
square
#306E1F #1F576E #5D1F6E #6E361F
split-complementary
#306E1F #361F6E #6E1F57
monochromatic
#0A1807 #1B3E12 #306E1F #459E2C #5CC93F
Accessibility & contrast
On white
6.22
#306E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#306E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306E1F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306E1F | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#2A6A5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #306e1f; /* rgb */ color: rgb(48, 110, 31); /* oklch */ color: oklch(48.0% 0.129 139.7);
Tailwind
colors: {
custom: {
50: '#6f985f',
500: '#306e1f',
950: '#000000',
},
}SCSS
$custom: #306e1f; $custom-light: #6f985f; $custom-dark: #000000;
JSON
{
"hex": "#306e1f",
"rgb": {
"r": 48,
"g": 110,
"b": 31
},
"hsl": {
"h": 107.089,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.47965,
"c": 0.12893,
"h": 139.7
},
"luminance": 0.11879
}Semantic roles & 50–950 ramp
primary
#306E1F
secondary
#8E47A2
accent
#48DFBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79