#309238#309238

#309238 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.3% C 0.157 H 144.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#309238
RGBrgb(48, 146, 56)
HSLhsl(125, 51%, 38%)
HSVhsv(125, 67%, 57%)
CMYKcmyk(67.1%, 0%, 61.6%, 42.7%)
CIE-LABlab(53.46, -47.11, 38.73)
CIE-LCHlch(53.46, 60.98, 140.57°)
OKLaboklab(58.31% -0.1275 0.091)
OKLCHoklch(58.31% 0.157 144.5)
XYZxyz(12.2109, 21.4704, 7.2413)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309238 #92308A
analogous
#599230 #309238 #309269
triadic
#309238 #383092 #923830
tetradic
#309238 #305992 #92308A #926930
square
#309238 #305992 #92308A #926930
split-complementary
#309238 #693092 #923059
monochromatic
#123615 #216426 #309238 #3FC04A #6DCF75

Accessibility & contrast

On white

3.97
#309238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#309238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309238
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309238#FFFFFF#000000##000000
##3092381.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852E
Deuteranopia (green-blind)
#897D3F
Tritanopia (blue-blind)
#168E7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #309238;
/* rgb */ color: rgb(48, 146, 56);
/* oklch */ color: oklch(58.3% 0.157 144.5);
Tailwind
colors: {
  custom: {
    50: '#75b372',
    500: '#309238',
    950: '#000000',
  },
}
SCSS
$custom: #309238;
$custom-light: #75b372;
$custom-dark: #000000;
JSON
{
  "hex": "#309238",
  "rgb": {
    "r": 48,
    "g": 146,
    "b": 56
  },
  "hsl": {
    "h": 124.898,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.15669,
    "h": 144.5
  },
  "luminance": 0.21472
}

Semantic roles & 50–950 ramp

primary
#309238
secondary
#B767B0
accent
#4ECFDA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #309238

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

Preview Lab → · Contrast checker → · Palette generator →

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