#307F2C#307F2C
#307F2C is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.142 H 142.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #307F2C |
|---|---|
| RGB | rgb(48, 127, 44) |
| HSL | hsl(117, 49%, 34%) |
| HSV | hsv(117, 65%, 50%) |
| CMYK | cmyk(62.2%, 0%, 65.4%, 50.2%) |
| CIE-LAB | lab(46.96, -41.28, 37.02) |
| CIE-LCH | lch(46.96, 55.45, 138.11°) |
| OKLab | oklab(52.9% -0.1124 0.0862) |
| OKLCH | oklch(52.9% 0.142 142.5) |
| XYZ | xyz(9.2624, 15.9881, 4.9803) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.47
Darkish Green
#287C37
ΔE00 2.93
Green
#008000
ΔE00 4.42
Forestgreen (CSS)
#228B22
ΔE00 4.75
Dark Grass Green
#388004
ΔE00 4.83
Jungle Green
#048243
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307F2C #7B2C7F
analogous
#597F2C #307F2C #2C7F51
triadic
#307F2C #2C307F #7F2C30
tetradic
#307F2C #2C597F #7B2C7F #7F512C
square
#307F2C #2C597F #7B2C7F #7F512C
split-complementary
#307F2C #512C7F #7F2C59
monochromatic
#0E240D #1F521C #307F2C #41AC3C #63C75E
Accessibility & contrast
On white
5.00
#307F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#307F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307F2C
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307F2C | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827322
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#227B6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #307f2c; /* rgb */ color: rgb(48, 127, 44); /* oklch */ color: oklch(52.9% 0.142 142.5);
Tailwind
colors: {
custom: {
50: '#72a569',
500: '#307f2c',
950: '#000000',
},
}SCSS
$custom: #307f2c; $custom-light: #72a569; $custom-dark: #000000;
JSON
{
"hex": "#307f2c",
"rgb": {
"r": 48,
"g": 127,
"b": 44
},
"hsl": {
"h": 117.108,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.52899,
"c": 0.14161,
"h": 142.5
},
"luminance": 0.15989
}Semantic roles & 50–950 ramp
primary
#307F2C
secondary
#A959AD
accent
#50D8D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A