#307D15#307D15

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

Color values

HEX#307D15
RGBrgb(48, 125, 21)
HSLhsl(104, 71%, 29%)
HSVhsv(104, 83%, 49%)
CMYKcmyk(61.6%, 0%, 83.2%, 51%)
CIE-LABlab(46.11, -42.48, 45.27)
CIE-LCHlch(46.11, 62.08, 133.18°)
OKLaboklab(52.14% -0.1169 0.1003)
OKLCHoklch(52.14% 0.154 139.4)
XYZxyz(8.6875, 15.3490, 3.2142)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D15 #62157D
analogous
#647D15 #307D15 #157D2E
triadic
#307D15 #15307D #7D1530
tetradic
#307D15 #15647D #62157D #7D2E15
square
#307D15 #15647D #62157D #7D2E15
split-complementary
#307D15 #2E157D #7D1564
monochromatic
#0A1A04 #1C490C #307D15 #44B11E #5DDC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307D15#FFFFFF#000000##FFFFFF
##307D151.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)
#776B22
Tritanopia (blue-blind)
#27796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d15;
/* rgb */ color: rgb(48, 125, 21);
/* oklch */ color: oklch(52.1% 0.154 139.4);
Tailwind
colors: {
  custom: {
    50: '#73a35c',
    500: '#307d15',
    950: '#000000',
  },
}
SCSS
$custom: #307d15;
$custom-light: #73a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#307d15",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 104.423,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.1541,
    "h": 139.4
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#307D15
secondary
#933CB2
accent
#3AEEBF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307D15

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

Preview Lab → · Contrast checker → · Palette generator →

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