#307E24#307E24

#307E24 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.146 H 141.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#307E24
RGBrgb(48, 126, 36)
HSLhsl(112, 56%, 32%)
HSVhsv(112, 71%, 49%)
CMYKcmyk(61.9%, 0%, 71.4%, 50.6%)
CIE-LABlab(46.55, -41.72, 40.15)
CIE-LCHlch(46.55, 57.91, 136.10°)
OKLaboklab(52.54% -0.114 0.0918)
OKLCHoklch(52.54% 0.146 141.2)
XYZxyz(8.9978, 15.6766, 4.2205)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E24 #72247E
analogous
#5D7E24 #307E24 #247E45
triadic
#307E24 #24307E #7E2430
tetradic
#307E24 #245D7E #72247E #7E4524
square
#307E24 #245D7E #72247E #7E4524
split-complementary
#307E24 #45247E #7E245D
monochromatic
#0C1F09 #1E4E16 #307E24 #42AE32 #60CD50

Accessibility & contrast

On white

5.08
#307E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#307E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E24
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E24#FFFFFF#000000##FFFFFF
##307E241.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#247A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e24;
/* rgb */ color: rgb(48, 126, 36);
/* oklch */ color: oklch(52.5% 0.146 141.2);
Tailwind
colors: {
  custom: {
    50: '#72a464',
    500: '#307e24',
    950: '#000000',
  },
}
SCSS
$custom: #307e24;
$custom-light: #72a464;
$custom-dark: #000000;
JSON
{
  "hex": "#307e24",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 112,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.1464,
    "h": 141.2
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#307E24
secondary
#A34EB0
accent
#49DFCB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #307E24

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#307E24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva