#307D31#307D31

#307D31 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.135 H 143.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#307D31
RGBrgb(48, 125, 49)
HSLhsl(121, 45%, 34%)
HSVhsv(121, 62%, 49%)
CMYKcmyk(61.6%, 0%, 60.8%, 51%)
CIE-LABlab(46.33, -39.89, 33.90)
CIE-LCHlch(46.33, 52.35, 139.64°)
OKLaboklab(52.4% -0.1083 0.08)
OKLCHoklch(52.4% 0.135 143.6)
XYZxyz(9.1064, 15.5165, 5.4202)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307D31 #7D307C
analogous
#567D30 #307D31 #307D58
triadic
#307D31 #31307D #7D3130
tetradic
#307D31 #30567D #7D307C #7D5830
square
#307D31 #30567D #7D307C #7D5830
split-complementary
#307D31 #58307D #7D3056
monochromatic
#0E250E #1F5120 #307D31 #41A942 #64C365

Accessibility & contrast

On white

5.12
#307D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#307D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307D31
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307D31#FFFFFF#000000##FFFFFF
##307D311.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807229
Deuteranopia (green-blind)
#766B37
Tritanopia (blue-blind)
#227A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #307d31;
/* rgb */ color: rgb(48, 125, 49);
/* oklch */ color: oklch(52.4% 0.135 143.6);
Tailwind
colors: {
  custom: {
    50: '#71a36c',
    500: '#307d31',
    950: '#000000',
  },
}
SCSS
$custom: #307d31;
$custom-light: #71a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#307d31",
  "rgb": {
    "r": 48,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 120.779,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.13465,
    "h": 143.6
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#307D31
secondary
#AB5EAA
accent
#54D3D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307D31

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

Preview Lab → · Contrast checker → · Palette generator →

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