#307F12#307F12

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

Color values

HEX#307F12
RGBrgb(48, 127, 18)
HSLhsl(103, 75%, 28%)
HSVhsv(103, 86%, 50%)
CMYKcmyk(62.2%, 0%, 85.8%, 50.2%)
CIE-LABlab(46.78, -43.40, 46.76)
CIE-LCHlch(46.78, 63.80, 132.86°)
OKLaboklab(52.69% -0.1196 0.103)
OKLCHoklch(52.69% 0.158 139.2)
XYZxyz(8.9171, 15.8500, 3.1616)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307F12 #61127F
analogous
#667F12 #307F12 #127F2A
triadic
#307F12 #12307F #7F1230
tetradic
#307F12 #12667F #61127F #7F2A12
square
#307F12 #12667F #61127F #7F2A12
split-complementary
#307F12 #2A127F #7F1266
monochromatic
#0A1B04 #1C490A #307F12 #44B51A #5DE12B

Accessibility & contrast

On white

5.04
#307F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307F12
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307F12#FFFFFF#000000##FFFFFF
##307F121.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#267A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #307f12;
/* rgb */ color: rgb(48, 127, 18);
/* oklch */ color: oklch(52.7% 0.158 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a55c',
    500: '#307f12',
    950: '#000000',
  },
}
SCSS
$custom: #307f12;
$custom-light: #73a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#307f12",
  "rgb": {
    "r": 48,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 103.486,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.15783,
    "h": 139.2
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#307F12
secondary
#9238B5
accent
#36F2BE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #307F12

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

Preview Lab → · Contrast checker → · Palette generator →

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