#308F58#308F58

#308F58 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.0% C 0.123 H 154.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#308F58
RGBrgb(48, 143, 88)
HSLhsl(145, 50%, 37%)
HSVhsv(145, 66%, 56%)
CMYKcmyk(66.4%, 0%, 38.5%, 43.9%)
CIE-LABlab(52.92, -40.79, 21.36)
CIE-LCHlch(52.92, 46.04, 152.36°)
OKLaboklab(58.02% -0.1104 0.0534)
OKLCHoklch(58.02% 0.123 154.2)
XYZxyz(12.8017, 20.9765, 12.6048)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F58 #8F3067
analogous
#388F30 #308F58 #308F87
triadic
#308F58 #58308F #8F5830
tetradic
#308F58 #30388F #8F3067 #8F8730
square
#308F58 #30388F #8F3067 #8F8730
split-complementary
#308F58 #87308F #8F3038
monochromatic
#113320 #21613C #308F58 #3FBD74 #6CCE95

Accessibility & contrast

On white

4.04
#308F58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#308F58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F58
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F58#FFFFFF#000000##000000
##308F581.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8454
Deuteranopia (green-blind)
#827B5C
Tritanopia (blue-blind)
#008D81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f58;
/* rgb */ color: rgb(48, 143, 88);
/* oklch */ color: oklch(58.0% 0.123 154.2);
Tailwind
colors: {
  custom: {
    50: '#74b087',
    500: '#308f58',
    950: '#000000',
  },
}
SCSS
$custom: #308f58;
$custom-light: #74b087;
$custom-dark: #000000;
JSON
{
  "hex": "#308f58",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 88
  },
  "hsl": {
    "h": 145.263,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.1226,
    "h": 154.2
  },
  "luminance": 0.20978
}

Semantic roles & 50–950 ramp

primary
#308F58
secondary
#B56694
accent
#4F9FD9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #308F58

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

Preview Lab → · Contrast checker → · Palette generator →

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