#306F1B#306F1B
#306F1B is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.133 H 139.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #306F1B |
|---|---|
| RGB | rgb(48, 111, 27) |
| HSL | hsl(105, 61%, 27%) |
| HSV | hsv(105, 76%, 44%) |
| CMYK | cmyk(56.8%, 0%, 75.7%, 56.5%) |
| CIE-LAB | lab(41.34, -36.55, 38.49) |
| CIE-LCH | lch(41.34, 53.08, 133.52°) |
| OKLab | oklab(48.21% -0.1006 0.0871) |
| OKLCH | oklch(48.21% 0.133 139.1) |
| XYZ | xyz(7.1009, 12.0758, 2.9934) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.01
Tree Green
#2A7E19
ΔE00 5.32
Darkish Green
#287C37
ΔE00 6.03
Green
#008000
ΔE00 6.81
Dark Grass Green
#388004
ΔE00 6.83
Darkolivegreen
#556B2F
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F1B #5A1B6F
analogous
#5A6F1B #306F1B #1B6F30
triadic
#306F1B #1B306F #6F1B30
tetradic
#306F1B #1B5A6F #5A1B6F #6F301B
square
#306F1B #1B5A6F #5A1B6F #6F301B
split-complementary
#306F1B #301B6F #6F1B5A
monochromatic
#0B1906 #1B3E0F #306F1B #45A027 #5CCE36
Accessibility & contrast
On white
6.15
#306F1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#306F1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F1B
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F1B | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72650C
Deuteranopia (green-blind)
#6A6023
Tritanopia (blue-blind)
#2A6B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #306f1b; /* rgb */ color: rgb(48, 111, 27); /* oklch */ color: oklch(48.2% 0.133 139.1);
Tailwind
colors: {
custom: {
50: '#70995d',
500: '#306f1b',
950: '#000000',
},
}SCSS
$custom: #306f1b; $custom-light: #70995d; $custom-dark: #000000;
JSON
{
"hex": "#306f1b",
"rgb": {
"r": 48,
"g": 111,
"b": 27
},
"hsl": {
"h": 105,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.48214,
"c": 0.13308,
"h": 139.1
},
"luminance": 0.12076
}Semantic roles & 50–950 ramp
primary
#306F1B
secondary
#8B42A4
accent
#44E4BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79