#308C4B#308C4B

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

Color values

HEX#308C4B
RGBrgb(48, 140, 75)
HSLhsl(138, 49%, 37%)
HSVhsv(138, 66%, 55%)
CMYKcmyk(65.7%, 0%, 46.4%, 45.1%)
CIE-LABlab(51.71, -41.97, 26.91)
CIE-LCHlch(51.71, 49.86, 147.34°)
OKLaboklab(56.95% -0.1133 0.066)
OKLCHoklch(56.95% 0.131 149.8)
XYZxyz(11.8661, 19.8913, 9.8693)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C4B #8C3071
analogous
#438C30 #308C4B #308C79
triadic
#308C4B #4B308C #8C4B30
tetradic
#308C4B #30438C #8C3071 #8C7930
square
#308C4B #30438C #8C3071 #8C7930
split-complementary
#308C4B #79308C #8C3043
monochromatic
#11311A #205E33 #308C4B #40BA63 #6ACC87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308C4B#FFFFFF#000000##000000
##308C4B1.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)
#8D8046
Deuteranopia (green-blind)
#81784F
Tritanopia (blue-blind)
#0E8A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c4b;
/* rgb */ color: rgb(48, 140, 75);
/* oklch */ color: oklch(56.9% 0.131 149.8);
Tailwind
colors: {
  custom: {
    50: '#73ae7e',
    500: '#308c4b',
    950: '#000000',
  },
}
SCSS
$custom: #308c4b;
$custom-light: #73ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#308c4b",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 75
  },
  "hsl": {
    "h": 137.609,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56949,
    "c": 0.13111,
    "h": 149.8
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#308C4B
secondary
#B3649C
accent
#4FB0D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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