#309138#309138

#309138 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.155 H 144.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#309138
RGBrgb(48, 145, 56)
HSLhsl(125, 50%, 38%)
HSVhsv(125, 67%, 57%)
CMYKcmyk(66.9%, 0%, 61.4%, 43.1%)
CIE-LABlab(53.13, -46.73, 38.35)
CIE-LCHlch(53.13, 60.45, 140.63°)
OKLaboklab(58.04% -0.1265 0.0902)
OKLCHoklch(58.04% 0.155 144.5)
XYZxyz(12.0574, 21.1635, 7.1901)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309138 #913089
analogous
#599130 #309138 #309168
triadic
#309138 #383091 #913830
tetradic
#309138 #305991 #913089 #916830
square
#309138 #305991 #913089 #916830
split-complementary
#309138 #683091 #913059
monochromatic
#123514 #216326 #309138 #3FBF4A #6DCF75

Accessibility & contrast

On white

4.01
#309138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#309138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309138
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309138#FFFFFF#000000##000000
##3091381.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842E
Deuteranopia (green-blind)
#887C3F
Tritanopia (blue-blind)
#178D7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #309138;
/* rgb */ color: rgb(48, 145, 56);
/* oklch */ color: oklch(58.0% 0.155 144.5);
Tailwind
colors: {
  custom: {
    50: '#75b272',
    500: '#309138',
    950: '#000000',
  },
}
SCSS
$custom: #309138;
$custom-light: #75b272;
$custom-dark: #000000;
JSON
{
  "hex": "#309138",
  "rgb": {
    "r": 48,
    "g": 145,
    "b": 56
  },
  "hsl": {
    "h": 124.948,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.1554,
    "h": 144.5
  },
  "luminance": 0.21165
}

Semantic roles & 50–950 ramp

primary
#309138
secondary
#B667AF
accent
#4ECEDA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #309138

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

Preview Lab → · Contrast checker → · Palette generator →

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