#308D4C#308D4C

#308D4C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.132 H 150.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#308D4C
RGBrgb(48, 141, 76)
HSLhsl(138, 49%, 37%)
HSVhsv(138, 66%, 55%)
CMYKcmyk(66%, 0%, 46.1%, 44.7%)
CIE-LABlab(52.06, -42.20, 26.81)
CIE-LCHlch(52.06, 50.00, 147.57°)
OKLaboklab(57.24% -0.1139 0.0658)
OKLCHoklch(57.24% 0.132 150)
XYZxyz(12.0474, 20.1987, 10.0999)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D4C #8D3071
analogous
#428D30 #308D4C #308D7B
triadic
#308D4C #4C308D #8D4C30
tetradic
#308D4C #30428D #8D3071 #8D7B30
square
#308D4C #30428D #8D3071 #8D7B30
split-complementary
#308D4C #7B308D #8D3042
monochromatic
#11321B #205F33 #308D4C #40BB65 #6BCD88

Accessibility & contrast

On white

4.17
#308D4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#308D4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D4C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D4C#FFFFFF#000000##000000
##308D4C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8147
Deuteranopia (green-blind)
#827950
Tritanopia (blue-blind)
#0C8B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308d4c;
/* rgb */ color: rgb(48, 141, 76);
/* oklch */ color: oklch(57.2% 0.132 150.0);
Tailwind
colors: {
  custom: {
    50: '#73af7f',
    500: '#308d4c',
    950: '#000000',
  },
}
SCSS
$custom: #308d4c;
$custom-light: #73af7f;
$custom-dark: #000000;
JSON
{
  "hex": "#308d4c",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 76
  },
  "hsl": {
    "h": 138.065,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.13154,
    "h": 150
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#308D4C
secondary
#B4659C
accent
#4FAFD9
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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