#309731#309731

#309731 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.168 H 143.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#309731
RGBrgb(48, 151, 49)
HSLhsl(121, 52%, 39%)
HSVhsv(121, 68%, 59%)
CMYKcmyk(68.2%, 0%, 67.5%, 40.8%)
CIE-LABlab(55.05, -49.72, 43.69)
CIE-LCHlch(55.05, 66.19, 138.69°)
OKLaboklab(59.61% -0.1349 0.1009)
OKLCHoklch(59.61% 0.168 143.2)
XYZxyz(12.8391, 22.9820, 6.6645)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309731 #973096
analogous
#639730 #309731 #309765
triadic
#309731 #313097 #973130
tetradic
#309731 #306397 #973096 #976530
square
#309731 #306397 #973096 #976530
split-complementary
#309731 #653097 #973063
monochromatic
#123A13 #216922 #309731 #41C343 #70D271

Accessibility & contrast

On white

3.75
#309731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#309731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309731
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309731#FFFFFF#000000##000000
##3097311.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#8E813A
Tritanopia (blue-blind)
#169382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #309731;
/* rgb */ color: rgb(48, 151, 49);
/* oklch */ color: oklch(59.6% 0.168 143.2);
Tailwind
colors: {
  custom: {
    50: '#77b76e',
    500: '#309731',
    950: '#000000',
  },
}
SCSS
$custom: #309731;
$custom-light: #77b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#309731",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 120.583,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59607,
    "c": 0.16848,
    "h": 143.2
  },
  "luminance": 0.22983
}

Semantic roles & 50–950 ramp

primary
#309731
secondary
#B96AB8
accent
#4DDADB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309731

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

Preview Lab → · Contrast checker → · Palette generator →

#309731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva