#309821#309821

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

Color values

HEX#309821
RGBrgb(48, 152, 33)
HSLhsl(112, 64%, 36%)
HSVhsv(112, 78%, 60%)
CMYKcmyk(68.4%, 0%, 78.3%, 40.4%)
CIE-LABlab(55.27, -51.44, 50.11)
CIE-LCHlch(55.27, 71.82, 135.75°)
OKLaboklab(59.75% -0.1405 0.1122)
OKLCHoklch(59.75% 0.18 141.4)
XYZxyz(12.7210, 23.1933, 5.2449)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309821 #892198
analogous
#6C9821 #309821 #21984E
triadic
#309821 #213098 #982130
tetradic
#309821 #216C98 #892198 #984E21
square
#309821 #216C98 #892198 #984E21
split-complementary
#309821 #4E2198 #98216C
monochromatic
#10330B #206616 #309821 #40CA2C #69DB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309821#FFFFFF#000000##000000
##3098211.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)
#9C8903
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#1A9382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #309821;
/* rgb */ color: rgb(48, 152, 33);
/* oklch */ color: oklch(59.8% 0.180 141.4);
Tailwind
colors: {
  custom: {
    50: '#78b766',
    500: '#309821',
    950: '#000000',
  },
}
SCSS
$custom: #309821;
$custom-light: #78b766;
$custom-dark: #000000;
JSON
{
  "hex": "#309821",
  "rgb": {
    "r": 48,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 112.437,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.17978,
    "h": 141.4
  },
  "luminance": 0.23195
}

Semantic roles & 50–950 ramp

primary
#309821
secondary
#B256BF
accent
#40E7D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #309821

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

Preview Lab → · Contrast checker → · Palette generator →

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