#306618#306618
#306618 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.123 H 137.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #306618 |
|---|---|
| RGB | rgb(48, 102, 24) |
| HSL | hsl(102, 62%, 25%) |
| HSV | hsv(102, 76%, 40%) |
| CMYK | cmyk(52.9%, 0%, 76.5%, 60%) |
| CIE-LAB | lab(38.19, -33.02, 36.52) |
| CIE-LCH | lch(38.19, 49.24, 132.12°) |
| OKLab | oklab(45.62% -0.0913 0.0825) |
| OKLCH | oklch(45.62% 0.123 137.9) |
| XYZ | xyz(6.1350, 10.1966, 2.5088) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.02
Deep Green
#02590F
ΔE00 5.78
Forest Green
#2D5A27
ΔE00 6.01
Forest
#0B5509
ΔE00 6.34
Camouflage Green
#4B6113
ΔE00 6.66
Navy Green
#35530A
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306618 #4E1866
analogous
#576618 #306618 #186627
triadic
#306618 #183066 #661830
tetradic
#306618 #185766 #4E1866 #662718
square
#306618 #185766 #4E1866 #662718
split-complementary
#306618 #271866 #661857
monochromatic
#0C1906 #19340C #306618 #479824 #5FC92F
Accessibility & contrast
On white
6.91
#306618 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#306618 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306618
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306618 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#2C6257
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #306618; /* rgb */ color: rgb(48, 102, 24); /* oklch */ color: oklch(45.6% 0.123 137.9);
Tailwind
colors: {
custom: {
50: '#6e925a',
500: '#306618',
950: '#000000',
},
}SCSS
$custom: #306618; $custom-light: #6e925a; $custom-dark: #000000;
JSON
{
"hex": "#306618",
"rgb": {
"r": 48,
"g": 102,
"b": 24
},
"hsl": {
"h": 101.538,
"s": 61.905,
"l": 24.706
},
"oklch": {
"l": 0.45618,
"c": 0.12308,
"h": 137.9
},
"luminance": 0.10197
}Semantic roles & 50–950 ramp
primary
#306618
secondary
#7F3E9C
accent
#43E5B3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79