#307A17#307A17

#307A17 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.149 H 139.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#307A17
RGBrgb(48, 122, 23)
HSLhsl(105, 68%, 28%)
HSVhsv(105, 81%, 48%)
CMYKcmyk(60.7%, 0%, 81.1%, 52.2%)
CIE-LABlab(45.09, -41.21, 43.67)
CIE-LCHlch(45.09, 60.05, 133.34°)
OKLaboklab(51.31% -0.1134 0.0973)
OKLCHoklch(51.31% 0.149 139.4)
XYZxyz(8.3328, 14.6086, 3.1911)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A17 #61177A
analogous
#617A17 #307A17 #177A2F
triadic
#307A17 #17307A #7A1730
tetradic
#307A17 #17617A #61177A #7A2F17
square
#307A17 #17617A #61177A #7A2F17
split-complementary
#307A17 #2F177A #7A1761
monochromatic
#0A1A05 #1C470D #307A17 #44AD21 #5DD933

Accessibility & contrast

On white

5.35
#307A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#307A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A17
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A17#FFFFFF#000000##FFFFFF
##307A171.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#756822
Tritanopia (blue-blind)
#277668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a17;
/* rgb */ color: rgb(48, 122, 23);
/* oklch */ color: oklch(51.3% 0.149 139.4);
Tailwind
colors: {
  custom: {
    50: '#72a15d',
    500: '#307a17',
    950: '#000000',
  },
}
SCSS
$custom: #307a17;
$custom-light: #72a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#307a17",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 104.848,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.14945,
    "h": 139.4
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#307A17
secondary
#923EAF
accent
#3DEBBF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307A17

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

Preview Lab → · Contrast checker → · Palette generator →

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