#308F48#308F48

#308F48 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.138 H 148.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#308F48
RGBrgb(48, 143, 72)
HSLhsl(135, 50%, 37%)
HSVhsv(135, 66%, 56%)
CMYKcmyk(66.4%, 0%, 49.7%, 43.9%)
CIE-LABlab(52.66, -43.68, 29.71)
CIE-LCHlch(52.66, 52.82, 145.77°)
OKLaboklab(57.72% -0.1178 0.0723)
OKLCHoklch(57.72% 0.138 148.5)
XYZxyz(12.2102, 20.7399, 9.4894)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F48 #8F3077
analogous
#478F30 #308F48 #308F78
triadic
#308F48 #48308F #8F4830
tetradic
#308F48 #30478F #8F3077 #8F7830
square
#308F48 #30478F #8F3077 #8F7830
split-complementary
#308F48 #78308F #8F3047
monochromatic
#11331A #216131 #308F48 #3FBD5F #6CCE85

Accessibility & contrast

On white

4.08
#308F48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#308F48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F48
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F48#FFFFFF#000000##000000
##308F481.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908342
Deuteranopia (green-blind)
#847A4D
Tritanopia (blue-blind)
#0E8C7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f48;
/* rgb */ color: rgb(48, 143, 72);
/* oklch */ color: oklch(57.7% 0.138 148.5);
Tailwind
colors: {
  custom: {
    50: '#74b17c',
    500: '#308f48',
    950: '#000000',
  },
}
SCSS
$custom: #308f48;
$custom-light: #74b17c;
$custom-dark: #000000;
JSON
{
  "hex": "#308f48",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 72
  },
  "hsl": {
    "h": 135.158,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57717,
    "c": 0.13824,
    "h": 148.5
  },
  "luminance": 0.20741
}

Semantic roles & 50–950 ramp

primary
#308F48
secondary
#B566A1
accent
#4FB6D9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #308F48

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

Preview Lab → · Contrast checker → · Palette generator →

#308F48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva