#307D3A#307D3A

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

Color values

HEX#307D3A
RGBrgb(48, 125, 58)
HSLhsl(128, 45%, 34%)
HSVhsv(128, 62%, 49%)
CMYKcmyk(61.6%, 0%, 53.6%, 51%)
CIE-LABlab(46.45, -38.63, 29.41)
CIE-LCHlch(46.45, 48.55, 142.72°)
OKLaboklab(52.53% -0.1046 0.0708)
OKLCHoklch(52.53% 0.126 145.9)
XYZxyz(9.3157, 15.6002, 6.5224)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D3A #7D3073
analogous
#4D7D30 #307D3A #307D61
triadic
#307D3A #3A307D #7D3A30
tetradic
#307D3A #304D7D #7D3073 #7D6130
square
#307D3A #304D7D #7D3073 #7D6130
split-complementary
#307D3A #61307D #7D304D
monochromatic
#0E2511 #1F5125 #307D3A #41A94F #64C370

Accessibility & contrast

On white

5.10
#307D3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #307D3A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D3A#FFFFFF#000000##FFFFFF
##307D3A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #307d3a;
/* rgb */ color: rgb(48, 125, 58);
/* oklch */ color: oklch(52.5% 0.126 145.9);
Tailwind
colors: {
  custom: {
    50: '#71a372',
    500: '#307d3a',
    950: '#000000',
  },
}
SCSS
$custom: #307d3a;
$custom-light: #71a372;
$custom-dark: #000000;
JSON
{
  "hex": "#307d3a",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 58
  },
  "hsl": {
    "h": 127.792,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.12629,
    "h": 145.9
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#307D3A
secondary
#AB5EA1
accent
#54C4D4
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #307D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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