#307D17#307D17

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

Color values

HEX#307D17
RGBrgb(48, 125, 23)
HSLhsl(105, 69%, 29%)
HSVhsv(105, 82%, 49%)
CMYKcmyk(61.6%, 0%, 81.6%, 51%)
CIE-LABlab(46.12, -42.36, 44.65)
CIE-LCHlch(46.12, 61.54, 133.49°)
OKLaboklab(52.15% -0.1165 0.0993)
OKLCHoklch(52.15% 0.153 139.6)
XYZxyz(8.7068, 15.3567, 3.3158)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D17 #64177D
analogous
#637D17 #307D17 #177D31
triadic
#307D17 #17307D #7D1730
tetradic
#307D17 #17637D #64177D #7D3117
square
#307D17 #17637D #64177D #7D3117
split-complementary
#307D17 #31177D #7D1763
monochromatic
#0A1A05 #1C490D #307D17 #44B121 #5DDA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307D17#FFFFFF#000000##FFFFFF
##307D171.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)
#817100
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#27796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d17;
/* rgb */ color: rgb(48, 125, 23);
/* oklch */ color: oklch(52.2% 0.153 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a35d',
    500: '#307d17',
    950: '#000000',
  },
}
SCSS
$custom: #307d17;
$custom-light: #73a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#307d17",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 105.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.15312,
    "h": 139.6
  },
  "luminance": 0.15357
}

Semantic roles & 50–950 ramp

primary
#307D17
secondary
#953EB2
accent
#3CECC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307D17

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

Preview Lab → · Contrast checker → · Palette generator →

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