#309542#309542

#309542 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.3% C 0.152 H 146.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#309542
RGBrgb(48, 149, 66)
HSLhsl(131, 51%, 39%)
HSVhsv(131, 68%, 58%)
CMYKcmyk(67.8%, 0%, 55.7%, 41.6%)
CIE-LABlab(54.57, -46.90, 35.15)
CIE-LCHlch(54.57, 58.61, 143.15°)
OKLaboklab(59.26% -0.1266 0.0841)
OKLCHoklch(59.26% 0.152 146.4)
XYZxyz(12.9488, 22.5153, 8.8167)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309542 #953083
analogous
#509530 #309542 #309574
triadic
#309542 #423095 #954230
tetradic
#309542 #305095 #953083 #957430
square
#309542 #305095 #953083 #957430
split-complementary
#309542 #743095 #953050
monochromatic
#123819 #21672D #309542 #41C258 #6FD180

Accessibility & contrast

On white

3.82
#309542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#309542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309542
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309542#FFFFFF#000000##000000
##3095421.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883A
Deuteranopia (green-blind)
#8B7F48
Tritanopia (blue-blind)
#0E9282
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #309542;
/* rgb */ color: rgb(48, 149, 66);
/* oklch */ color: oklch(59.3% 0.152 146.4);
Tailwind
colors: {
  custom: {
    50: '#75b578',
    500: '#309542',
    950: '#000000',
  },
}
SCSS
$custom: #309542;
$custom-light: #75b578;
$custom-dark: #000000;
JSON
{
  "hex": "#309542",
  "rgb": {
    "r": 48,
    "g": 149,
    "b": 66
  },
  "hsl": {
    "h": 130.693,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59264,
    "c": 0.15198,
    "h": 146.4
  },
  "luminance": 0.22517
}

Semantic roles & 50–950 ramp

primary
#309542
secondary
#B869AA
accent
#4DC1DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #309542

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

Preview Lab → · Contrast checker → · Palette generator →

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