#309822#309822

#309822 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.8% C 0.179 H 141.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#309822
RGBrgb(48, 152, 34)
HSLhsl(113, 63%, 36%)
HSVhsv(113, 78%, 60%)
CMYKcmyk(68.4%, 0%, 77.6%, 40.4%)
CIE-LABlab(55.28, -51.37, 49.78)
CIE-LCHlch(55.28, 71.53, 135.90°)
OKLaboklab(59.76% -0.1402 0.1117)
OKLCHoklch(59.76% 0.179 141.5)
XYZxyz(12.7352, 23.1990, 5.3198)
Luminance0.2320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309822 #8A2298
analogous
#6B9822 #309822 #22984F
triadic
#309822 #223098 #982230
tetradic
#309822 #226B98 #8A2298 #984F22
square
#309822 #226B98 #8A2298 #984F22
split-complementary
#309822 #4F2298 #98226B
monochromatic
#10340C #206617 #309822 #40CA2D #69DA5A

Accessibility & contrast

On white

3.72
#309822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#309822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309822
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309822#FFFFFF#000000##000000
##3098221.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8905
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#1A9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #309822;
/* rgb */ color: rgb(48, 152, 34);
/* oklch */ color: oklch(59.8% 0.179 141.5);
Tailwind
colors: {
  custom: {
    50: '#78b766',
    500: '#309822',
    950: '#000000',
  },
}
SCSS
$custom: #309822;
$custom-light: #78b766;
$custom-dark: #000000;
JSON
{
  "hex": "#309822",
  "rgb": {
    "r": 48,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 112.881,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.17924,
    "h": 141.5
  },
  "luminance": 0.232
}

Semantic roles & 50–950 ramp

primary
#309822
secondary
#B257BE
accent
#41E6D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #309822

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

Preview Lab → · Contrast checker → · Palette generator →

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