#307F17#307F17

#307F17 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.156 H 139.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#307F17
RGBrgb(48, 127, 23)
HSLhsl(106, 69%, 29%)
HSVhsv(106, 82%, 50%)
CMYKcmyk(62.2%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.80, -43.11, 45.29)
CIE-LCHlch(46.80, 62.53, 133.59°)
OKLaboklab(52.72% -0.1185 0.1007)
OKLCHoklch(52.72% 0.156 139.7)
XYZxyz(8.9626, 15.8682, 3.4010)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F17 #66177F
analogous
#647F17 #307F17 #177F32
triadic
#307F17 #17307F #7F1730
tetradic
#307F17 #17647F #66177F #7F3217
square
#307F17 #17647F #66177F #7F3217
split-complementary
#307F17 #32177F #7F1764
monochromatic
#0A1A05 #1C4B0E #307F17 #44B320 #5DDB36

Accessibility & contrast

On white

5.03
#307F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#307F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307F17
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F17#FFFFFF#000000##FFFFFF
##307F171.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#267B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f17;
/* rgb */ color: rgb(48, 127, 23);
/* oklch */ color: oklch(52.7% 0.156 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a55e',
    500: '#307f17',
    950: '#000000',
  },
}
SCSS
$custom: #307f17;
$custom-light: #73a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#307f17",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 105.577,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.15553,
    "h": 139.7
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#307F17
secondary
#973EB4
accent
#3CECC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307F17

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

Preview Lab → · Contrast checker → · Palette generator →

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