#308F5F#308F5F

#308F5F is a mid, moderate green. Relative luminance 0.211; OKLCH L 58.2% C 0.116 H 157.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#308F5F
RGBrgb(48, 143, 95)
HSLhsl(150, 50%, 37%)
HSVhsv(150, 66%, 56%)
CMYKcmyk(66.4%, 0%, 33.6%, 43.9%)
CIE-LABlab(53.06, -39.35, 17.63)
CIE-LCHlch(53.06, 43.11, 155.87°)
OKLaboklab(58.17% -0.1069 0.0445)
OKLCHoklch(58.17% 0.116 157.4)
XYZxyz(13.1057, 21.0981, 14.2059)
Luminance0.2110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F5F #8F3060
analogous
#318F30 #308F5F #308F8E
triadic
#308F5F #5F308F #8F5F30
tetradic
#308F5F #30318F #8F3060 #8F8E30
square
#308F5F #30318F #8F3060 #8F8E30
split-complementary
#308F5F #8E308F #8F3031
monochromatic
#113322 #216141 #308F5F #3FBD7D #6CCE9C

Accessibility & contrast

On white

4.02
#308F5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#308F5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F5F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F5F#FFFFFF#000000##000000
##308F5F1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845C
Deuteranopia (green-blind)
#817B62
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #308f5f;
/* rgb */ color: rgb(48, 143, 95);
/* oklch */ color: oklch(58.2% 0.116 157.4);
Tailwind
colors: {
  custom: {
    50: '#74b08c',
    500: '#308f5f',
    950: '#000000',
  },
}
SCSS
$custom: #308f5f;
$custom-light: #74b08c;
$custom-dark: #000000;
JSON
{
  "hex": "#308f5f",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 95
  },
  "hsl": {
    "h": 149.684,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.11584,
    "h": 157.4
  },
  "luminance": 0.211
}

Semantic roles & 50–950 ramp

primary
#308F5F
secondary
#B5668E
accent
#4F95D9
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #308F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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