#308D54#308D54

#308D54 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.124 H 152.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#308D54
RGBrgb(48, 141, 84)
HSLhsl(143, 49%, 37%)
HSVhsv(143, 66%, 55%)
CMYKcmyk(66%, 0%, 40.4%, 44.7%)
CIE-LABlab(52.19, -40.74, 22.61)
CIE-LCHlch(52.19, 46.59, 150.97°)
OKLaboklab(57.39% -0.1101 0.0563)
OKLCHoklch(57.39% 0.124 152.9)
XYZxyz(12.3430, 20.3169, 11.6569)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D54 #8D3069
analogous
#3B8D30 #308D54 #308D83
triadic
#308D54 #54308D #8D5430
tetradic
#308D54 #303B8D #8D3069 #8D8330
square
#308D54 #303B8D #8D3069 #8D8330
split-complementary
#308D54 #83308D #8D303B
monochromatic
#11321E #205F39 #308D54 #40BB6F #6BCD91

Accessibility & contrast

On white

4.15
#308D54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#308D54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D54
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D54#FFFFFF#000000##000000
##308D541.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8250
Deuteranopia (green-blind)
#817958
Tritanopia (blue-blind)
#038B7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308d54;
/* rgb */ color: rgb(48, 141, 84);
/* oklch */ color: oklch(57.4% 0.124 152.9);
Tailwind
colors: {
  custom: {
    50: '#73af84',
    500: '#308d54',
    950: '#000000',
  },
}
SCSS
$custom: #308d54;
$custom-light: #73af84;
$custom-dark: #000000;
JSON
{
  "hex": "#308d54",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 84
  },
  "hsl": {
    "h": 143.226,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.12367,
    "h": 152.9
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#308D54
secondary
#B46595
accent
#4FA3D9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #308D54

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

Preview Lab → · Contrast checker → · Palette generator →

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