#309240#309240

#309240 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.4% C 0.150 H 146.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#309240
RGBrgb(48, 146, 64)
HSLhsl(130, 51%, 38%)
HSVhsv(130, 67%, 57%)
CMYKcmyk(67.1%, 0%, 56.2%, 42.7%)
CIE-LABlab(53.55, -46.05, 34.93)
CIE-LCHlch(53.55, 57.80, 142.82°)
OKLaboklab(58.41% -0.1244 0.0834)
OKLCHoklch(58.41% 0.15 146.1)
XYZxyz(12.4224, 21.5550, 8.3554)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309240 #923082
analogous
#519230 #309240 #309271
triadic
#309240 #403092 #924030
tetradic
#309240 #305192 #923082 #927130
square
#309240 #305192 #923082 #927130
split-complementary
#309240 #713092 #923051
monochromatic
#123618 #21642C #309240 #3FC054 #6DCF7D

Accessibility & contrast

On white

3.95
#309240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#309240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309240
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309240#FFFFFF#000000##000000
##3092401.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948538
Deuteranopia (green-blind)
#887D46
Tritanopia (blue-blind)
#128F80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #309240;
/* rgb */ color: rgb(48, 146, 64);
/* oklch */ color: oklch(58.4% 0.150 146.1);
Tailwind
colors: {
  custom: {
    50: '#75b377',
    500: '#309240',
    950: '#000000',
  },
}
SCSS
$custom: #309240;
$custom-light: #75b377;
$custom-dark: #000000;
JSON
{
  "hex": "#309240",
  "rgb": {
    "r": 48,
    "g": 146,
    "b": 64
  },
  "hsl": {
    "h": 129.796,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.14977,
    "h": 146.1
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#309240
secondary
#B767AA
accent
#4EC3DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #309240

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

Preview Lab → · Contrast checker → · Palette generator →

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