#307E17#307E17

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

Color values

HEX#307E17
RGBrgb(48, 126, 23)
HSLhsl(105, 69%, 29%)
HSVhsv(105, 82%, 49%)
CMYKcmyk(61.9%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.46, -42.74, 44.97)
CIE-LCHlch(46.46, 62.04, 133.54°)
OKLaboklab(52.44% -0.1175 0.1)
OKLCHoklch(52.44% 0.154 139.6)
XYZxyz(8.8340, 15.6111, 3.3582)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307E17 #65177E
analogous
#647E17 #307E17 #177E32
triadic
#307E17 #17307E #7E1730
tetradic
#307E17 #17647E #65177E #7E3217
square
#307E17 #17647E #65177E #7E3217
split-complementary
#307E17 #32177E #7E1764
monochromatic
#0A1A05 #1C4A0E #307E17 #44B220 #5DDA35

Accessibility & contrast

On white

5.09
#307E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#307E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307E17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307E17#FFFFFF#000000##FFFFFF
##307E171.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#267A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307e17;
/* rgb */ color: rgb(48, 126, 23);
/* oklch */ color: oklch(52.4% 0.154 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a45d',
    500: '#307e17',
    950: '#000000',
  },
}
SCSS
$custom: #307e17;
$custom-light: #73a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#307e17",
  "rgb": {
    "r": 48,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 105.437,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.15433,
    "h": 139.6
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#307E17
secondary
#963EB3
accent
#3CECC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307E17

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

Preview Lab → · Contrast checker → · Palette generator →

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