#306F1F#306F1F
#306F1F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.130 H 139.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #306F1F |
|---|---|
| RGB | rgb(48, 111, 31) |
| HSL | hsl(107, 56%, 28%) |
| HSV | hsv(107, 72%, 44%) |
| CMYK | cmyk(56.8%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(41.37, -36.20, 36.85) |
| CIE-LCH | lch(41.37, 51.65, 134.49°) |
| OKLab | oklab(48.25% -0.0994 0.0842) |
| OKLCH | oklch(48.25% 0.13 139.7) |
| XYZ | xyz(7.1504, 12.0956, 3.2539) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.14
Tree Green
#2A7E19
ΔE00 5.48
Darkish Green
#287C37
ΔE00 5.65
Green
#008000
ΔE00 7.04
Dark Grass Green
#388004
ΔE00 7.15
Darkolivegreen
#556B2F
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F1F #5E1F6F
analogous
#586F1F #306F1F #1F6F36
triadic
#306F1F #1F306F #6F1F30
tetradic
#306F1F #1F586F #5E1F6F #6F361F
square
#306F1F #1F586F #5E1F6F #6F361F
split-complementary
#306F1F #361F6F #6F1F58
monochromatic
#0A1807 #1B3F12 #306F1F #459F2C #5CC93F
Accessibility & contrast
On white
6.14
#306F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#306F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F1F
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F1F | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#6A6026
Tritanopia (blue-blind)
#296B5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #306f1f; /* rgb */ color: rgb(48, 111, 31); /* oklch */ color: oklch(48.3% 0.130 139.7);
Tailwind
colors: {
custom: {
50: '#70995f',
500: '#306f1f',
950: '#000000',
},
}SCSS
$custom: #306f1f; $custom-light: #70995f; $custom-dark: #000000;
JSON
{
"hex": "#306f1f",
"rgb": {
"r": 48,
"g": 111,
"b": 31
},
"hsl": {
"h": 107.25,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.4825,
"c": 0.13028,
"h": 139.7
},
"luminance": 0.12096
}Semantic roles & 50–950 ramp
primary
#306F1F
secondary
#8F47A3
accent
#48E0BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79