#308F4D#308F4D

#308F4D is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.133 H 150.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#308F4D
RGBrgb(48, 143, 77)
HSLhsl(138, 50%, 37%)
HSVhsv(138, 66%, 56%)
CMYKcmyk(66.4%, 0%, 46.2%, 43.9%)
CIE-LABlab(52.74, -42.83, 27.14)
CIE-LCHlch(52.74, 50.71, 147.64°)
OKLaboklab(57.8% -0.1156 0.0666)
OKLCHoklch(57.8% 0.133 150)
XYZxyz(12.3800, 20.8078, 10.3836)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F4D #8F3072
analogous
#428F30 #308F4D #308F7D
triadic
#308F4D #4D308F #8F4D30
tetradic
#308F4D #30428F #8F3072 #8F7D30
square
#308F4D #30428F #8F3072 #8F7D30
split-complementary
#308F4D #7D308F #8F3042
monochromatic
#11331C #216134 #308F4D #3FBD66 #6CCE8A

Accessibility & contrast

On white

4.07
#308F4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#308F4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F4D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F4D#FFFFFF#000000##000000
##308F4D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908348
Deuteranopia (green-blind)
#847B52
Tritanopia (blue-blind)
#098D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f4d;
/* rgb */ color: rgb(48, 143, 77);
/* oklch */ color: oklch(57.8% 0.133 150.0);
Tailwind
colors: {
  custom: {
    50: '#74b180',
    500: '#308f4d',
    950: '#000000',
  },
}
SCSS
$custom: #308f4d;
$custom-light: #74b180;
$custom-dark: #000000;
JSON
{
  "hex": "#308f4d",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 138.316,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57803,
    "c": 0.1334,
    "h": 150
  },
  "luminance": 0.20809
}

Semantic roles & 50–950 ramp

primary
#308F4D
secondary
#B5669D
accent
#4FAFD9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #308F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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