#309231#309231

#309231 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.2% C 0.162 H 143.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#309231
RGBrgb(48, 146, 49)
HSLhsl(121, 51%, 38%)
HSVhsv(121, 67%, 57%)
CMYKcmyk(67.1%, 0%, 66.4%, 42.7%)
CIE-LABlab(53.39, -47.91, 41.87)
CIE-LCHlch(53.39, 63.63, 138.85°)
OKLaboklab(58.23% -0.1301 0.097)
OKLCHoklch(58.23% 0.162 143.3)
XYZxyz(12.0515, 21.4067, 6.4019)
Luminance0.2141 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309231 #923091
analogous
#609230 #309231 #309262
triadic
#309231 #313092 #923130
tetradic
#309231 #306092 #923091 #926230
square
#309231 #306092 #923091 #926230
split-complementary
#309231 #623092 #923060
monochromatic
#123612 #216422 #309231 #3FC041 #6DCF6E

Accessibility & contrast

On white

3.98
#309231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#309231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309231
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309231#FFFFFF#000000##000000
##3092311.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958425
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#198E7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #309231;
/* rgb */ color: rgb(48, 146, 49);
/* oklch */ color: oklch(58.2% 0.162 143.3);
Tailwind
colors: {
  custom: {
    50: '#76b36e',
    500: '#309231',
    950: '#000000',
  },
}
SCSS
$custom: #309231;
$custom-light: #76b36e;
$custom-dark: #000000;
JSON
{
  "hex": "#309231",
  "rgb": {
    "r": 48,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 120.612,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58232,
    "c": 0.16226,
    "h": 143.3
  },
  "luminance": 0.21408
}

Semantic roles & 50–950 ramp

primary
#309231
secondary
#B767B6
accent
#4ED9DA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #309231

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

Preview Lab → · Contrast checker → · Palette generator →

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