#306F28#306F28
#306F28 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.123 H 141.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #306F28 |
|---|---|
| RGB | rgb(48, 111, 40) |
| HSL | hsl(113, 47%, 30%) |
| HSV | hsv(113, 64%, 44%) |
| CMYK | cmyk(56.8%, 0%, 64%, 56.5%) |
| CIE-LAB | lab(41.45, -35.24, 32.75) |
| CIE-LCH | lch(41.45, 48.11, 137.10°) |
| OKLab | oklab(48.35% -0.0962 0.0766) |
| OKLCH | oklch(48.35% 0.123 141.5) |
| XYZ | xyz(7.2860, 12.1499, 3.9683) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.91
Darkgreen
#006400
ΔE00 5.78
Tree Green
#2A7E19
ΔE00 6.15
Forest Green
#2D5A27
ΔE00 7.51
Darkolivegreen
#556B2F
ΔE00 7.59
Green
#008000
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F28 #67286F
analogous
#546F28 #306F28 #286F43
triadic
#306F28 #28306F #6F2830
tetradic
#306F28 #28546F #67286F #6F4328
square
#306F28 #28546F #67286F #6F4328
split-complementary
#306F28 #43286F #6F2854
monochromatic
#0A1608 #1D4218 #306F28 #439C38 #5EC051
Accessibility & contrast
On white
6.12
#306F28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#306F28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F28
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F28 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726520
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#286C60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #306f28; /* rgb */ color: rgb(48, 111, 40); /* oklch */ color: oklch(48.3% 0.123 141.5);
Tailwind
colors: {
custom: {
50: '#6f9965',
500: '#306f28',
950: '#000000',
},
}SCSS
$custom: #306f28; $custom-light: #6f9965; $custom-dark: #000000;
JSON
{
"hex": "#306f28",
"rgb": {
"r": 48,
"g": 111,
"b": 40
},
"hsl": {
"h": 113.239,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.48348,
"c": 0.12301,
"h": 141.5
},
"luminance": 0.1215
}Semantic roles & 50–950 ramp
primary
#306F28
secondary
#9851A1
accent
#51D7C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A