#308D57#308D57

#308D57 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.5% C 0.121 H 154.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#308D57
RGBrgb(48, 141, 87)
HSLhsl(145, 49%, 37%)
HSVhsv(145, 66%, 55%)
CMYKcmyk(66%, 0%, 38.3%, 44.7%)
CIE-LABlab(52.25, -40.15, 21.01)
CIE-LCHlch(52.25, 45.32, 152.37°)
OKLaboklab(57.45% -0.1087 0.0526)
OKLCHoklch(57.45% 0.121 154.2)
XYZxyz(12.4630, 20.3650, 12.2890)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D57 #8D3066
analogous
#388D30 #308D57 #308D85
triadic
#308D57 #57308D #8D5730
tetradic
#308D57 #30388D #8D3066 #8D8530
square
#308D57 #30388D #8D3066 #8D8530
split-complementary
#308D57 #85308D #8D3038
monochromatic
#11321F #205F3B #308D57 #40BB73 #6BCD94

Accessibility & contrast

On white

4.14
#308D57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#308D57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D57
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D57#FFFFFF#000000##000000
##308D571.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8253
Deuteranopia (green-blind)
#81795B
Tritanopia (blue-blind)
#008B7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308d57;
/* rgb */ color: rgb(48, 141, 87);
/* oklch */ color: oklch(57.5% 0.121 154.2);
Tailwind
colors: {
  custom: {
    50: '#73af87',
    500: '#308d57',
    950: '#000000',
  },
}
SCSS
$custom: #308d57;
$custom-light: #73af87;
$custom-dark: #000000;
JSON
{
  "hex": "#308d57",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 87
  },
  "hsl": {
    "h": 145.161,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57454,
    "c": 0.12072,
    "h": 154.2
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#308D57
secondary
#B46593
accent
#4F9FD9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #308D57

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

Preview Lab → · Contrast checker → · Palette generator →

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