#309A38#309A38

#309A38 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.167 H 144.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#309A38
RGBrgb(48, 154, 56)
HSLhsl(125, 52%, 40%)
HSVhsv(125, 69%, 60%)
CMYKcmyk(68.8%, 0%, 63.6%, 39.6%)
CIE-LABlab(56.11, -50.03, 41.74)
CIE-LCHlch(56.11, 65.16, 140.16°)
OKLaboklab(60.5% -0.1355 0.0975)
OKLCHoklch(60.5% 0.167 144.3)
XYZxyz(13.4875, 24.0237, 7.6668)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A38 #9A3092
analogous
#5D9A30 #309A38 #309A6D
triadic
#309A38 #38309A #9A3830
tetradic
#309A38 #305D9A #9A3092 #9A6D30
square
#309A38 #305D9A #9A3092 #9A6D30
split-complementary
#309A38 #6D309A #9A305D
monochromatic
#133D16 #216B27 #309A38 #43C44D #72D379

Accessibility & contrast

On white

3.62
#309A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#309A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309A38
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309A38#FFFFFF#000000##000000
##309A381.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C2D
Deuteranopia (green-blind)
#908340
Tritanopia (blue-blind)
#109685
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309a38;
/* rgb */ color: rgb(48, 154, 56);
/* oklch */ color: oklch(60.5% 0.167 144.3);
Tailwind
colors: {
  custom: {
    50: '#77b972',
    500: '#309a38',
    950: '#000000',
  },
}
SCSS
$custom: #309a38;
$custom-light: #77b972;
$custom-dark: #000000;
JSON
{
  "hex": "#309a38",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 56
  },
  "hsl": {
    "h": 124.528,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60504,
    "c": 0.16689,
    "h": 144.3
  },
  "luminance": 0.24025
}

Semantic roles & 50–950 ramp

primary
#309A38
secondary
#BB6BB5
accent
#4CD1DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #309A38

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

Preview Lab → · Contrast checker → · Palette generator →

#309A38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva