#308F1C#308F1C
#308F1C is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.172 H 140.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #308F1C |
|---|---|
| RGB | rgb(48, 143, 28) |
| HSL | hsl(110, 67%, 34%) |
| HSV | hsv(110, 80%, 56%) |
| CMYK | cmyk(66.4%, 0%, 80.4%, 43.9%) |
| CIE-LAB | lab(52.24, -48.63, 48.84) |
| CIE-LCH | lch(52.24, 68.92, 134.88°) |
| OKLab | oklab(57.23% -0.1331 0.1088) |
| OKLCH | oklch(57.23% 0.172 140.7) |
| XYZ | xyz(11.2504, 20.3560, 4.4346) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.23
Emerald Green
#028F1E
ΔE00 2.35
True Green
#089404
ΔE00 2.58
Irish Green
#019529
ΔE00 3.32
Kelley Green
#009337
ΔE00 4.67
Grass Green
#3F9B0B
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308F1C #7B1C8F
analogous
#698F1C #308F1C #1C8F41
triadic
#308F1C #1C308F #8F1C30
tetradic
#308F1C #1C698F #7B1C8F #8F411C
square
#308F1C #1C698F #7B1C8F #8F411C
split-complementary
#308F1C #411C8F #8F1C69
monochromatic
#0E2908 #1F5C12 #308F1C #41C226 #63DC4A
Accessibility & contrast
On white
4.14
#308F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#308F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308F1C
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308F1C | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#1F8A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #308f1c; /* rgb */ color: rgb(48, 143, 28); /* oklch */ color: oklch(57.2% 0.172 140.7);
Tailwind
colors: {
custom: {
50: '#76b162',
500: '#308f1c',
950: '#000000',
},
}SCSS
$custom: #308f1c; $custom-light: #76b162; $custom-dark: #000000;
JSON
{
"hex": "#308f1c",
"rgb": {
"r": 48,
"g": 143,
"b": 28
},
"hsl": {
"h": 109.565,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.57227,
"c": 0.17196,
"h": 140.7
},
"luminance": 0.20357
}Semantic roles & 50–950 ramp
primary
#308F1C
secondary
#A949BE
accent
#3EEACC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A