#307A31#307A31

#307A31 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.130 H 143.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#307A31
RGBrgb(48, 122, 49)
HSLhsl(121, 44%, 33%)
HSVhsv(121, 61%, 48%)
CMYKcmyk(60.7%, 0%, 59.8%, 52.2%)
CIE-LABlab(45.32, -38.68, 32.71)
CIE-LCHlch(45.32, 50.65, 139.78°)
OKLaboklab(51.56% -0.105 0.0774)
OKLCHoklch(51.56% 0.13 143.6)
XYZxyz(8.7323, 14.7684, 5.2955)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307A31 #7A3079
analogous
#547A30 #307A31 #307A56
triadic
#307A31 #31307A #7A3130
tetradic
#307A31 #30547A #7A3079 #7A5630
square
#307A31 #30547A #7A3079 #7A5630
split-complementary
#307A31 #56307A #7A3054
monochromatic
#0D220E #1F4E1F #307A31 #41A643 #63C264

Accessibility & contrast

On white

5.31
#307A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#307A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307A31
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307A31#FFFFFF#000000##FFFFFF
##307A311.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2A
Deuteranopia (green-blind)
#736937
Tritanopia (blue-blind)
#23776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #307a31;
/* rgb */ color: rgb(48, 122, 49);
/* oklch */ color: oklch(51.6% 0.130 143.6);
Tailwind
colors: {
  custom: {
    50: '#71a16b',
    500: '#307a31',
    950: '#000000',
  },
}
SCSS
$custom: #307a31;
$custom-light: #71a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#307a31",
  "rgb": {
    "r": 48,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 120.811,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.13048,
    "h": 143.6
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#307A31
secondary
#A95DA8
accent
#55D2D3
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #307A31

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

Preview Lab → · Contrast checker → · Palette generator →

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