#307D19#307D19

#307D19 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.152 H 139.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#307D19
RGBrgb(48, 125, 25)
HSLhsl(106, 67%, 29%)
HSVhsv(106, 80%, 49%)
CMYKcmyk(61.6%, 0%, 80%, 51%)
CIE-LABlab(46.13, -42.23, 43.98)
CIE-LCHlch(46.13, 60.97, 133.83°)
OKLaboklab(52.17% -0.116 0.0983)
OKLCHoklch(52.17% 0.152 139.7)
XYZxyz(8.7276, 15.3650, 3.4253)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D19 #66197D
analogous
#627D19 #307D19 #197D34
triadic
#307D19 #19307D #7D1930
tetradic
#307D19 #19627D #66197D #7D3419
square
#307D19 #19627D #66197D #7D3419
split-complementary
#307D19 #34197D #7D1962
monochromatic
#0A1A05 #1C4A0F #307D19 #44B023 #5DD739

Accessibility & contrast

On white

5.16
#307D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#307D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D19
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D19#FFFFFF#000000##FFFFFF
##307D191.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#26796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d19;
/* rgb */ color: rgb(48, 125, 25);
/* oklch */ color: oklch(52.2% 0.152 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a35e',
    500: '#307d19',
    950: '#000000',
  },
}
SCSS
$custom: #307d19;
$custom-light: #73a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#307d19",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 106.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.15206,
    "h": 139.7
  },
  "luminance": 0.15366
}

Semantic roles & 50–950 ramp

primary
#307D19
secondary
#9740B1
accent
#3EEAC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307D19

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

Preview Lab → · Contrast checker → · Palette generator →

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