#309938#309938

#309938 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.166 H 144.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#309938
RGBrgb(48, 153, 56)
HSLhsl(125, 52%, 39%)
HSVhsv(125, 69%, 60%)
CMYKcmyk(68.6%, 0%, 63.4%, 40%)
CIE-LABlab(55.78, -49.67, 41.37)
CIE-LCHlch(55.78, 64.64, 140.21°)
OKLaboklab(60.23% -0.1345 0.0967)
OKLCHoklch(60.23% 0.166 144.3)
XYZxyz(13.3231, 23.6950, 7.6121)
Luminance0.2370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309938 #993091
analogous
#5D9930 #309938 #30996C
triadic
#309938 #383099 #993830
tetradic
#309938 #305D99 #993091 #996C30
square
#309938 #305D99 #993091 #996C30
split-complementary
#309938 #6C3099 #99305D
monochromatic
#133C16 #216A27 #309938 #42C44C #71D278

Accessibility & contrast

On white

3.66
#309938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#309938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309938
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309938#FFFFFF#000000##000000
##3099381.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2D
Deuteranopia (green-blind)
#8F8240
Tritanopia (blue-blind)
#119584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309938;
/* rgb */ color: rgb(48, 153, 56);
/* oklch */ color: oklch(60.2% 0.166 144.3);
Tailwind
colors: {
  custom: {
    50: '#77b872',
    500: '#309938',
    950: '#000000',
  },
}
SCSS
$custom: #309938;
$custom-light: #77b872;
$custom-dark: #000000;
JSON
{
  "hex": "#309938",
  "rgb": {
    "r": 48,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 124.571,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6023,
    "c": 0.16563,
    "h": 144.3
  },
  "luminance": 0.23696
}

Semantic roles & 50–950 ramp

primary
#309938
secondary
#BA6BB4
accent
#4CD1DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #309938

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

Preview Lab → · Contrast checker → · Palette generator →

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