#309334#309334

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

Color values

HEX#309334
RGBrgb(48, 147, 52)
HSLhsl(122, 51%, 38%)
HSVhsv(122, 67%, 58%)
CMYKcmyk(67.3%, 0%, 64.6%, 42.4%)
CIE-LABlab(53.75, -47.95, 40.92)
CIE-LCHlch(53.75, 63.03, 139.52°)
OKLaboklab(58.54% -0.13 0.0953)
OKLCHoklch(58.54% 0.161 143.7)
XYZxyz(12.2717, 21.7425, 6.7981)
Luminance0.2174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309334 #93308F
analogous
#5D9330 #309334 #309365
triadic
#309334 #343093 #933430
tetradic
#309334 #305D93 #93308F #936530
square
#309334 #305D93 #93308F #936530
split-complementary
#309334 #653093 #93305D
monochromatic
#123713 #216524 #309334 #40C145 #6ED072

Accessibility & contrast

On white

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

On black

5.35
#309334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309334
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309334#FFFFFF#000000##000000
##3093341.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968529
Deuteranopia (green-blind)
#8A7D3C
Tritanopia (blue-blind)
#178F7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #309334;
/* rgb */ color: rgb(48, 147, 52);
/* oklch */ color: oklch(58.5% 0.161 143.7);
Tailwind
colors: {
  custom: {
    50: '#76b46f',
    500: '#309334',
    950: '#000000',
  },
}
SCSS
$custom: #309334;
$custom-light: #76b46f;
$custom-dark: #000000;
JSON
{
  "hex": "#309334",
  "rgb": {
    "r": 48,
    "g": 147,
    "b": 52
  },
  "hsl": {
    "h": 122.424,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.1612,
    "h": 143.7
  },
  "luminance": 0.21744
}

Semantic roles & 50–950 ramp

primary
#309334
secondary
#B768B4
accent
#4ED5DA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #309334

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

Preview Lab → · Contrast checker → · Palette generator →

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