#306915#306915
#306915 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.129 H 137.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #306915 |
|---|---|
| RGB | rgb(48, 105, 21) |
| HSL | hsl(101, 67%, 25%) |
| HSV | hsv(101, 80%, 41%) |
| CMYK | cmyk(54.3%, 0%, 80%, 58.8%) |
| CIE-LAB | lab(39.22, -34.53, 38.71) |
| CIE-LCH | lch(39.22, 51.87, 131.73°) |
| OKLab | oklab(46.45% -0.0956 0.0866) |
| OKLCH | oklch(46.45% 0.129 137.8) |
| XYZ | xyz(6.4056, 10.7852, 2.4535) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.03
Deep Green
#02590F
ΔE00 6.62
Camouflage Green
#4B6113
ΔE00 6.92
Forest Green
#2D5A27
ΔE00 7.18
Forest
#0B5509
ΔE00 7.24
Tree Green
#2A7E19
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306915 #4E1569
analogous
#5A6915 #306915 #156924
triadic
#306915 #153069 #691530
tetradic
#306915 #155A69 #4E1569 #692415
square
#306915 #155A69 #4E1569 #692415
split-complementary
#306915 #241569 #69155A
monochromatic
#0C1A05 #19360B #306915 #479C1F #5FCF29
Accessibility & contrast
On white
6.65
#306915 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#306915 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306915
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306915 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D5F03
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#2C6559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #306915; /* rgb */ color: rgb(48, 105, 21); /* oklch */ color: oklch(46.5% 0.129 137.8);
Tailwind
colors: {
custom: {
50: '#6f9459',
500: '#306915',
950: '#000000',
},
}SCSS
$custom: #306915; $custom-light: #6f9459; $custom-dark: #000000;
JSON
{
"hex": "#306915",
"rgb": {
"r": 48,
"g": 105,
"b": 21
},
"hsl": {
"h": 100.714,
"s": 66.667,
"l": 24.706
},
"oklch": {
"l": 0.46454,
"c": 0.12899,
"h": 137.8
},
"luminance": 0.10786
}Semantic roles & 50–950 ramp
primary
#306915
secondary
#7F3AA0
accent
#3EEAB2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79