#308C54#308C54

#308C54 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.122 H 153.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#308C54
RGBrgb(48, 140, 84)
HSLhsl(143, 49%, 37%)
HSVhsv(143, 66%, 55%)
CMYKcmyk(65.7%, 0%, 40%, 45.1%)
CIE-LABlab(51.86, -40.32, 22.17)
CIE-LCHlch(51.86, 46.02, 151.19°)
OKLaboklab(57.12% -0.109 0.0553)
OKLCHoklch(57.12% 0.122 153.1)
XYZxyz(12.1962, 20.0234, 11.6079)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C54 #8C3068
analogous
#3A8C30 #308C54 #308C82
triadic
#308C54 #54308C #8C5430
tetradic
#308C54 #303A8C #8C3068 #8C8230
square
#308C54 #303A8C #8C3068 #8C8230
split-complementary
#308C54 #82308C #8C303A
monochromatic
#11311D #205E39 #308C54 #40BA6F #6ACC91

Accessibility & contrast

On white

4.20
#308C54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#308C54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C54
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C54#FFFFFF#000000##000000
##308C541.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8150
Deuteranopia (green-blind)
#807858
Tritanopia (blue-blind)
#048A7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308c54;
/* rgb */ color: rgb(48, 140, 84);
/* oklch */ color: oklch(57.1% 0.122 153.1);
Tailwind
colors: {
  custom: {
    50: '#73ae84',
    500: '#308c54',
    950: '#000000',
  },
}
SCSS
$custom: #308c54;
$custom-light: #73ae84;
$custom-dark: #000000;
JSON
{
  "hex": "#308c54",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 84
  },
  "hsl": {
    "h": 143.478,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.12223,
    "h": 153.1
  },
  "luminance": 0.20025
}

Semantic roles & 50–950 ramp

primary
#308C54
secondary
#B36494
accent
#4FA3D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #308C54

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

Preview Lab → · Contrast checker → · Palette generator →

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