#308D51#308D51

#308D51 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.127 H 151.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#308D51
RGBrgb(48, 141, 81)
HSLhsl(141, 49%, 37%)
HSVhsv(141, 66%, 55%)
CMYKcmyk(66%, 0%, 42.6%, 44.7%)
CIE-LABlab(52.14, -41.30, 24.19)
CIE-LCHlch(52.14, 47.87, 149.64°)
OKLaboklab(57.33% -0.1115 0.0599)
OKLCHoklch(57.33% 0.127 151.7)
XYZxyz(12.2280, 20.2709, 11.0513)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D51 #8D306C
analogous
#3E8D30 #308D51 #308D7F
triadic
#308D51 #51308D #8D5130
tetradic
#308D51 #303E8D #8D306C #8D7F30
square
#308D51 #303E8D #8D306C #8D7F30
split-complementary
#308D51 #7F308D #8D303E
monochromatic
#11321D #205F37 #308D51 #40BB6B #6BCD8E

Accessibility & contrast

On white

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

On black

5.05
#308D51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D51
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D51#FFFFFF#000000##000000
##308D511.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814D
Deuteranopia (green-blind)
#817955
Tritanopia (blue-blind)
#068B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308d51;
/* rgb */ color: rgb(48, 141, 81);
/* oklch */ color: oklch(57.3% 0.127 151.7);
Tailwind
colors: {
  custom: {
    50: '#73af82',
    500: '#308d51',
    950: '#000000',
  },
}
SCSS
$custom: #308d51;
$custom-light: #73af82;
$custom-dark: #000000;
JSON
{
  "hex": "#308d51",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 81
  },
  "hsl": {
    "h": 141.29,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57333,
    "c": 0.12663,
    "h": 151.7
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#308D51
secondary
#B46598
accent
#4FA8D9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308D51

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

Preview Lab → · Contrast checker → · Palette generator →

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