#308C4C#308C4C

#308C4C is a mid, vivid green. Relative luminance 0.199; OKLCH L 57.0% C 0.130 H 150.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#308C4C
RGBrgb(48, 140, 76)
HSLhsl(138, 49%, 37%)
HSVhsv(138, 66%, 55%)
CMYKcmyk(65.7%, 0%, 45.7%, 45.1%)
CIE-LABlab(51.73, -41.80, 26.39)
CIE-LCHlch(51.73, 49.43, 147.74°)
OKLaboklab(56.97% -0.1128 0.0649)
OKLCHoklch(56.97% 0.13 150.1)
XYZxyz(11.9006, 19.9051, 10.0510)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C4C #8C3070
analogous
#428C30 #308C4C #308C7A
triadic
#308C4C #4C308C #8C4C30
tetradic
#308C4C #30428C #8C3070 #8C7A30
square
#308C4C #30428C #8C3070 #8C7A30
split-complementary
#308C4C #7A308C #8C3042
monochromatic
#11311B #205E33 #308C4C #40BA65 #6ACC88

Accessibility & contrast

On white

4.22
#308C4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#308C4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C4C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C4C#FFFFFF#000000##000000
##308C4C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8047
Deuteranopia (green-blind)
#817850
Tritanopia (blue-blind)
#0D8A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c4c;
/* rgb */ color: rgb(48, 140, 76);
/* oklch */ color: oklch(57.0% 0.130 150.1);
Tailwind
colors: {
  custom: {
    50: '#73ae7f',
    500: '#308c4c',
    950: '#000000',
  },
}
SCSS
$custom: #308c4c;
$custom-light: #73ae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#308c4c",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 76
  },
  "hsl": {
    "h": 138.261,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56967,
    "c": 0.13013,
    "h": 150.1
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#308C4C
secondary
#B3649B
accent
#4FAFD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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