#307D12#307D12

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

Color values

HEX#307D12
RGBrgb(48, 125, 18)
HSLhsl(103, 75%, 28%)
HSVhsv(103, 86%, 49%)
CMYKcmyk(61.6%, 0%, 85.6%, 51%)
CIE-LABlab(46.09, -42.65, 46.14)
CIE-LCHlch(46.09, 62.83, 132.74°)
OKLaboklab(52.13% -0.1175 0.1017)
OKLCHoklch(52.13% 0.155 139.1)
XYZxyz(8.6614, 15.3385, 3.0763)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D12 #5F127D
analogous
#657D12 #307D12 #127D2A
triadic
#307D12 #12307D #7D1230
tetradic
#307D12 #12657D #5F127D #7D2A12
square
#307D12 #12657D #5F127D #7D2A12
split-complementary
#307D12 #2A127D #7D1265
monochromatic
#0A1B04 #1B480A #307D12 #45B21A #5DE029

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##307D12#FFFFFF#000000##FFFFFF
##307D121.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)
#776B20
Tritanopia (blue-blind)
#27786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #307d12;
/* rgb */ color: rgb(48, 125, 18);
/* oklch */ color: oklch(52.1% 0.155 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a35b',
    500: '#307d12',
    950: '#000000',
  },
}
SCSS
$custom: #307d12;
$custom-light: #73a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#307d12",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 103.178,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.15545,
    "h": 139.1
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#307D12
secondary
#9038B3
accent
#36F1BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307D12

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

Preview Lab → · Contrast checker → · Palette generator →

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