#307F15#307F15

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

Color values

HEX#307F15
RGBrgb(48, 127, 21)
HSLhsl(105, 72%, 29%)
HSVhsv(105, 83%, 50%)
CMYKcmyk(62.2%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.79, -43.23, 45.91)
CIE-LCHlch(46.79, 63.06, 133.28°)
OKLaboklab(52.71% -0.119 0.1017)
OKLCHoklch(52.71% 0.157 139.5)
XYZxyz(8.9433, 15.8604, 3.2994)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F15 #64157F
analogous
#657F15 #307F15 #157F2F
triadic
#307F15 #15307F #7F1530
tetradic
#307F15 #15657F #64157F #7F2F15
square
#307F15 #15657F #64157F #7F2F15
split-complementary
#307F15 #2F157F #7F1565
monochromatic
#0A1A04 #1C4A0C #307F15 #44B41E #5DDD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307F15#FFFFFF#000000##FFFFFF
##307F151.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)
#796C22
Tritanopia (blue-blind)
#267A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f15;
/* rgb */ color: rgb(48, 127, 21);
/* oklch */ color: oklch(52.7% 0.157 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a55d',
    500: '#307f15',
    950: '#000000',
  },
}
SCSS
$custom: #307f15;
$custom-light: #73a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#307f15",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 104.717,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.1565,
    "h": 139.5
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#307F15
secondary
#953CB4
accent
#39EEC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #307F15

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

Preview Lab → · Contrast checker → · Palette generator →

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