#307F24#307F24

#307F24 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.148 H 141.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#307F24
RGBrgb(48, 127, 36)
HSLhsl(112, 56%, 32%)
HSVhsv(112, 72%, 50%)
CMYKcmyk(62.2%, 0%, 71.7%, 50.2%)
CIE-LABlab(46.89, -42.11, 40.51)
CIE-LCHlch(46.89, 58.43, 136.11°)
OKLaboklab(52.82% -0.1151 0.0926)
OKLCHoklch(52.82% 0.148 141.2)
XYZxyz(9.1263, 15.9337, 4.2633)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F24 #73247F
analogous
#5E7F24 #307F24 #247F46
triadic
#307F24 #24307F #7F2430
tetradic
#307F24 #245E7F #73247F #7F4624
square
#307F24 #245E7F #73247F #7F4624
split-complementary
#307F24 #46247F #7F245E
monochromatic
#0C2009 #1E4F16 #307F24 #42AF32 #61CD50

Accessibility & contrast

On white

5.02
#307F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#307F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F24
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F24#FFFFFF#000000##FFFFFF
##307F241.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827316
Deuteranopia (green-blind)
#786D2D
Tritanopia (blue-blind)
#247B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f24;
/* rgb */ color: rgb(48, 127, 36);
/* oklch */ color: oklch(52.8% 0.148 141.2);
Tailwind
colors: {
  custom: {
    50: '#72a564',
    500: '#307f24',
    950: '#000000',
  },
}
SCSS
$custom: #307f24;
$custom-light: #72a564;
$custom-dark: #000000;
JSON
{
  "hex": "#307f24",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 112.088,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.14768,
    "h": 141.2
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #307F24

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

Preview Lab → · Contrast checker → · Palette generator →

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