#307C24#307C24

#307C24 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.144 H 141.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#307C24
RGBrgb(48, 124, 36)
HSLhsl(112, 55%, 31%)
HSVhsv(112, 71%, 49%)
CMYKcmyk(61.3%, 0%, 71%, 51.4%)
CIE-LABlab(45.87, -40.95, 39.43)
CIE-LCHlch(45.87, 56.85, 136.08°)
OKLaboklab(51.97% -0.1119 0.0903)
OKLCHoklch(51.97% 0.144 141.1)
XYZxyz(8.7446, 15.1703, 4.1361)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307C24 #70247C
analogous
#5C7C24 #307C24 #247C44
triadic
#307C24 #24307C #7C2430
tetradic
#307C24 #245C7C #70247C #7C4424
square
#307C24 #245C7C #70247C #7C4424
split-complementary
#307C24 #44247C #7C245C
monochromatic
#0B1D08 #1E4D16 #307C24 #42AB32 #60CC4F

Accessibility & contrast

On white

5.21
#307C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#307C24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307C24
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307C24#FFFFFF#000000##FFFFFF
##307C241.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7117
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#25786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307c24;
/* rgb */ color: rgb(48, 124, 36);
/* oklch */ color: oklch(52.0% 0.144 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a364',
    500: '#307c24',
    950: '#000000',
  },
}
SCSS
$custom: #307c24;
$custom-light: #72a364;
$custom-dark: #000000;
JSON
{
  "hex": "#307c24",
  "rgb": {
    "r": 48,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 111.818,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.14382,
    "h": 141.1
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#307C24
secondary
#A14DAE
accent
#49DECA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307C24

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

Preview Lab → · Contrast checker → · Palette generator →

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