#308F5C#308F5C

#308F5C is a mid, moderate green. Relative luminance 0.210; OKLCH L 58.1% C 0.119 H 156.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#308F5C
RGBrgb(48, 143, 92)
HSLhsl(148, 50%, 37%)
HSVhsv(148, 66%, 56%)
CMYKcmyk(66.4%, 0%, 35.7%, 43.9%)
CIE-LABlab(53.00, -39.98, 19.23)
CIE-LCHlch(53.00, 44.36, 154.31°)
OKLaboklab(58.1% -0.1084 0.0484)
OKLCHoklch(58.1% 0.119 156)
XYZxyz(12.9720, 21.0446, 13.5015)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F5C #8F3063
analogous
#348F30 #308F5C #308F8B
triadic
#308F5C #5C308F #8F5C30
tetradic
#308F5C #30348F #8F3063 #8F8B30
square
#308F5C #30348F #8F3063 #8F8B30
split-complementary
#308F5C #8B308F #8F3034
monochromatic
#113321 #21613F #308F5C #3FBD79 #6CCE99

Accessibility & contrast

On white

4.03
#308F5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#308F5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F5C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F5C#FFFFFF#000000##000000
##308F5C1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8459
Deuteranopia (green-blind)
#827B5F
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #308f5c;
/* rgb */ color: rgb(48, 143, 92);
/* oklch */ color: oklch(58.1% 0.119 156.0);
Tailwind
colors: {
  custom: {
    50: '#74b08a',
    500: '#308f5c',
    950: '#000000',
  },
}
SCSS
$custom: #308f5c;
$custom-light: #74b08a;
$custom-dark: #000000;
JSON
{
  "hex": "#308f5c",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 92
  },
  "hsl": {
    "h": 147.789,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.11872,
    "h": 156
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

primary
#308F5C
secondary
#B56690
accent
#4F99D9
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #308F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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