#309331#309331

#309331 is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.5% C 0.164 H 143.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#309331
RGBrgb(48, 147, 49)
HSLhsl(121, 51%, 38%)
HSVhsv(121, 67%, 58%)
CMYKcmyk(67.3%, 0%, 66.7%, 42.4%)
CIE-LABlab(53.72, -48.28, 42.24)
CIE-LCHlch(53.72, 64.14, 138.82°)
OKLaboklab(58.51% -0.131 0.0978)
OKLCHoklch(58.51% 0.164 143.3)
XYZxyz(12.2063, 21.7163, 6.4535)
Luminance0.2172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309331 #933092
analogous
#609330 #309331 #309362
triadic
#309331 #313093 #933130
tetradic
#309331 #306093 #933092 #936230
square
#309331 #306093 #933092 #936230
split-complementary
#309331 #623093 #933060
monochromatic
#123712 #216522 #309331 #40C141 #6ED06F

Accessibility & contrast

On white

3.93
#309331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#309331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309331
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309331#FFFFFF#000000##000000
##3093311.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968525
Deuteranopia (green-blind)
#8A7D3A
Tritanopia (blue-blind)
#188F7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #309331;
/* rgb */ color: rgb(48, 147, 49);
/* oklch */ color: oklch(58.5% 0.164 143.3);
Tailwind
colors: {
  custom: {
    50: '#76b46e',
    500: '#309331',
    950: '#000000',
  },
}
SCSS
$custom: #309331;
$custom-light: #76b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#309331",
  "rgb": {
    "r": 48,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 120.606,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.16351,
    "h": 143.3
  },
  "luminance": 0.21718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #309331

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

Preview Lab → · Contrast checker → · Palette generator →

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