#309048#309048

#309048 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.0% C 0.140 H 148.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#309048
RGBrgb(48, 144, 72)
HSLhsl(135, 50%, 38%)
HSVhsv(135, 67%, 56%)
CMYKcmyk(66.7%, 0%, 50%, 43.5%)
CIE-LABlab(52.99, -44.07, 30.13)
CIE-LCHlch(52.99, 53.38, 145.64°)
OKLaboklab(57.99% -0.1189 0.0732)
OKLCHoklch(57.99% 0.14 148.4)
XYZxyz(12.3610, 21.0415, 9.5396)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309048 #903078
analogous
#489030 #309048 #309078
triadic
#309048 #483090 #904830
tetradic
#309048 #304890 #903078 #907830
square
#309048 #304890 #903078 #907830
split-complementary
#309048 #783090 #903048
monochromatic
#11341A #216231 #309048 #3FBE5F #6CCE85

Accessibility & contrast

On white

4.03
#309048 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#309048 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309048
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309048#FFFFFF#000000##000000
##3090481.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918442
Deuteranopia (green-blind)
#857B4D
Tritanopia (blue-blind)
#0D8D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #309048;
/* rgb */ color: rgb(48, 144, 72);
/* oklch */ color: oklch(58.0% 0.140 148.4);
Tailwind
colors: {
  custom: {
    50: '#74b17c',
    500: '#309048',
    950: '#000000',
  },
}
SCSS
$custom: #309048;
$custom-light: #74b17c;
$custom-dark: #000000;
JSON
{
  "hex": "#309048",
  "rgb": {
    "r": 48,
    "g": 144,
    "b": 72
  },
  "hsl": {
    "h": 135,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5799,
    "c": 0.13962,
    "h": 148.4
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#309048
secondary
#B566A2
accent
#4EB7DA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #309048

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

Preview Lab → · Contrast checker → · Palette generator →

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