#308F2B#308F2B
#308F2B is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.163 H 142.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #308F2B |
|---|---|
| RGB | rgb(48, 143, 43) |
| HSL | hsl(117, 54%, 36%) |
| HSV | hsv(117, 70%, 56%) |
| CMYK | cmyk(66.4%, 0%, 69.9%, 43.9%) |
| CIE-LAB | lab(52.34, -47.43, 43.33) |
| CIE-LCH | lch(52.34, 64.24, 137.59°) |
| OKLab | oklab(57.34% -0.1291 0.0994) |
| OKLCH | oklch(57.34% 0.163 142.4) |
| XYZ | xyz(11.4768, 20.4466, 5.6268) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.87
Emerald Green
#028F1E
ΔE00 2.22
Irish Green
#019529
ΔE00 2.72
Kelley Green
#009337
ΔE00 3.25
True Green
#089404
ΔE00 3.68
Fern Green
#548D44
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308F2B #8A2B8F
analogous
#628F2B #308F2B #2B8F58
triadic
#308F2B #2B308F #8F2B30
tetradic
#308F2B #2B628F #8A2B8F #8F582B
square
#308F2B #2B628F #8A2B8F #8F582B
split-complementary
#308F2B #582B8F #8F2B62
monochromatic
#10310F #20601D #308F2B #40BE39 #69D064
Accessibility & contrast
On white
4.13
#308F2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#308F2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308F2B
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308F2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308F2B | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92821D
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#1C8B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #308f2b; /* rgb */ color: rgb(48, 143, 43); /* oklch */ color: oklch(57.3% 0.163 142.4);
Tailwind
colors: {
custom: {
50: '#75b16a',
500: '#308f2b',
950: '#000000',
},
}SCSS
$custom: #308f2b; $custom-light: #75b16a; $custom-dark: #000000;
JSON
{
"hex": "#308f2b",
"rgb": {
"r": 48,
"g": 143,
"b": 43
},
"hsl": {
"h": 117,
"s": 53.763,
"l": 36.471
},
"oklch": {
"l": 0.57343,
"c": 0.1629,
"h": 142.4
},
"luminance": 0.20448
}Semantic roles & 50–950 ramp
primary
#308F2B
secondary
#B25FB7
accent
#4BDDD6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A