#306F25#306F25
#306F25 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.126 H 140.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #306F25 |
|---|---|
| RGB | rgb(48, 111, 37) |
| HSL | hsl(111, 50%, 29%) |
| HSV | hsv(111, 67%, 44%) |
| CMYK | cmyk(56.8%, 0%, 66.7%, 56.5%) |
| CIE-LAB | lab(41.42, -35.59, 34.17) |
| CIE-LCH | lch(41.42, 49.33, 136.17°) |
| OKLab | oklab(48.31% -0.0974 0.0793) |
| OKLCH | oklch(48.31% 0.126 140.8) |
| XYZ | xyz(7.2370, 12.1302, 3.7099) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.13
Darkgreen
#006400
ΔE00 5.51
Tree Green
#2A7E19
ΔE00 5.88
Green
#008000
ΔE00 7.52
Darkolivegreen
#556B2F
ΔE00 7.55
Forest Green
#2D5A27
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F25 #64256F
analogous
#556F25 #306F25 #256F3F
triadic
#306F25 #25306F #6F2530
tetradic
#306F25 #25556F #64256F #6F3F25
square
#306F25 #25556F #64256F #6F3F25
split-complementary
#306F25 #3F256F #6F2555
monochromatic
#0A1708 #1C4116 #306F25 #449D34 #5DC34B
Accessibility & contrast
On white
6.13
#306F25 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#306F25 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F25
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F25 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72651C
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#286B5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #306f25; /* rgb */ color: rgb(48, 111, 37); /* oklch */ color: oklch(48.3% 0.126 140.8);
Tailwind
colors: {
custom: {
50: '#6f9963',
500: '#306f25',
950: '#000000',
},
}SCSS
$custom: #306f25; $custom-light: #6f9963; $custom-dark: #000000;
JSON
{
"hex": "#306f25",
"rgb": {
"r": 48,
"g": 111,
"b": 37
},
"hsl": {
"h": 111.081,
"s": 50,
"l": 29.02
},
"oklch": {
"l": 0.48312,
"c": 0.12557,
"h": 140.8
},
"luminance": 0.12131
}Semantic roles & 50–950 ramp
primary
#306F25
secondary
#954EA2
accent
#4EDAC5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A