#307D3B#307D3B

#307D3B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.125 H 146.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#307D3B
RGBrgb(48, 125, 59)
HSLhsl(129, 45%, 34%)
HSVhsv(129, 62%, 49%)
CMYKcmyk(61.6%, 0%, 52.8%, 51%)
CIE-LABlab(46.46, -38.48, 28.90)
CIE-LCHlch(46.46, 48.12, 143.09°)
OKLaboklab(52.54% -0.1041 0.0698)
OKLCHoklch(52.54% 0.125 146.2)
XYZxyz(9.3414, 15.6105, 6.6577)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D3B #7D3072
analogous
#4C7D30 #307D3B #307D62
triadic
#307D3B #3B307D #7D3B30
tetradic
#307D3B #304C7D #7D3072 #7D6230
square
#307D3B #304C7D #7D3072 #7D6230
split-complementary
#307D3B #62307D #7D304C
monochromatic
#0E2511 #1F5126 #307D3B #41A950 #64C372

Accessibility & contrast

On white

5.09
#307D3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#307D3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D3B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D3B#FFFFFF#000000##FFFFFF
##307D3B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7235
Deuteranopia (green-blind)
#756B40
Tritanopia (blue-blind)
#1F7A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d3b;
/* rgb */ color: rgb(48, 125, 59);
/* oklch */ color: oklch(52.5% 0.125 146.2);
Tailwind
colors: {
  custom: {
    50: '#71a372',
    500: '#307d3b',
    950: '#000000',
  },
}
SCSS
$custom: #307d3b;
$custom-light: #71a372;
$custom-dark: #000000;
JSON
{
  "hex": "#307d3b",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 59
  },
  "hsl": {
    "h": 128.571,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.12533,
    "h": 146.2
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#307D3B
secondary
#AB5EA0
accent
#54C2D4
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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