#307D28#307D28

#307D28 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.142 H 141.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#307D28
RGBrgb(48, 125, 40)
HSLhsl(114, 52%, 32%)
HSVhsv(114, 68%, 49%)
CMYKcmyk(61.6%, 0%, 68%, 51%)
CIE-LABlab(46.24, -40.94, 38.07)
CIE-LCHlch(46.24, 55.90, 137.08°)
OKLaboklab(52.3% -0.1117 0.0879)
OKLCHoklch(52.3% 0.142 141.8)
XYZxyz(8.9351, 15.4480, 4.5180)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D28 #75287D
analogous
#5B7D28 #307D28 #287D4B
triadic
#307D28 #28307D #7D2830
tetradic
#307D28 #285B7D #75287D #7D4B28
square
#307D28 #285B7D #75287D #7D4B28
split-complementary
#307D28 #4B287D #7D285B
monochromatic
#0C200A #1E4F19 #307D28 #42AB37 #61C956

Accessibility & contrast

On white

5.13
#307D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#307D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D28
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D28#FFFFFF#000000##FFFFFF
##307D281.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#24796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d28;
/* rgb */ color: rgb(48, 125, 40);
/* oklch */ color: oklch(52.3% 0.142 141.8);
Tailwind
colors: {
  custom: {
    50: '#72a366',
    500: '#307d28',
    950: '#000000',
  },
}
SCSS
$custom: #307d28;
$custom-light: #72a366;
$custom-dark: #000000;
JSON
{
  "hex": "#307d28",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 114.353,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52295,
    "c": 0.14213,
    "h": 141.8
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#307D28
secondary
#A553AE
accent
#4DDBCE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #307D28

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

Preview Lab → · Contrast checker → · Palette generator →

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