#308E2F#308E2F
#308E2F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.159 H 143.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #308E2F |
|---|---|
| RGB | rgb(48, 142, 47) |
| HSL | hsl(119, 50%, 37%) |
| HSV | hsv(119, 67%, 56%) |
| CMYK | cmyk(66.2%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(52.04, -46.66, 41.27) |
| CIE-LCH | lch(52.04, 62.29, 138.50°) |
| OKLab | oklab(57.11% -0.1268 0.0955) |
| OKLCH | oklch(57.11% 0.159 143) |
| XYZ | xyz(11.4044, 20.1785, 5.9826) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.90
Emerald Green
#028F1E
ΔE00 2.51
Kelley Green
#009337
ΔE00 3.01
Irish Green
#019529
ΔE00 3.02
True Green
#089404
ΔE00 4.34
Fern Green
#548D44
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308E2F #8D2F8E
analogous
#608E2F #308E2F #2F8E5D
triadic
#308E2F #2F308E #8E2F30
tetradic
#308E2F #2F608E #8D2F8E #8E5D2F
square
#308E2F #2F608E #8D2F8E #8E5D2F
split-complementary
#308E2F #5D2F8E #8E2F60
monochromatic
#113211 #206020 #308E2F #40BC3E #6BCE6A
Accessibility & contrast
On white
4.17
#308E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#308E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308E2F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308E2F | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#1B8A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #308e2f; /* rgb */ color: rgb(48, 142, 47); /* oklch */ color: oklch(57.1% 0.159 143.0);
Tailwind
colors: {
custom: {
50: '#75b06c',
500: '#308e2f',
950: '#000000',
},
}SCSS
$custom: #308e2f; $custom-light: #75b06c; $custom-dark: #000000;
JSON
{
"hex": "#308e2f",
"rgb": {
"r": 48,
"g": 142,
"b": 47
},
"hsl": {
"h": 119.368,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.57106,
"c": 0.15873,
"h": 143
},
"luminance": 0.2018
}Semantic roles & 50–950 ramp
primary
#308E2F
secondary
#B464B5
accent
#4EDAD8
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091107
muted
#7B807A