#308C4D#308C4D

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

Color values

HEX#308C4D
RGBrgb(48, 140, 77)
HSLhsl(139, 49%, 37%)
HSVhsv(139, 66%, 55%)
CMYKcmyk(65.7%, 0%, 45%, 45.1%)
CIE-LABlab(51.75, -41.62, 25.86)
CIE-LCHlch(51.75, 49.01, 148.14°)
OKLaboklab(56.99% -0.1123 0.0637)
OKLCHoklch(56.99% 0.129 150.5)
XYZxyz(11.9356, 19.9191, 10.2355)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C4D #8C306F
analogous
#418C30 #308C4D #308C7B
triadic
#308C4D #4D308C #8C4D30
tetradic
#308C4D #30418C #8C306F #8C7B30
square
#308C4D #30418C #8C306F #8C7B30
split-complementary
#308C4D #7B308C #8C3041
monochromatic
#11311B #205E34 #308C4D #40BA66 #6ACC89

Accessibility & contrast

On white

4.21
#308C4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308C4D#FFFFFF#000000##000000
##308C4D1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8048
Deuteranopia (green-blind)
#817851
Tritanopia (blue-blind)
#0C8A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c4d;
/* rgb */ color: rgb(48, 140, 77);
/* oklch */ color: oklch(57.0% 0.129 150.5);
Tailwind
colors: {
  custom: {
    50: '#73ae7f',
    500: '#308c4d',
    950: '#000000',
  },
}
SCSS
$custom: #308c4d;
$custom-light: #73ae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#308c4d",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 77
  },
  "hsl": {
    "h": 138.913,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56986,
    "c": 0.12915,
    "h": 150.5
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

primary
#308C4D
secondary
#B3649A
accent
#4FADD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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