#308C5F#308C5F

#308C5F is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.4% C 0.112 H 158.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#308C5F
RGBrgb(48, 140, 95)
HSLhsl(151, 49%, 37%)
HSVhsv(151, 66%, 55%)
CMYKcmyk(65.7%, 0%, 32.1%, 45.1%)
CIE-LABlab(52.07, -38.06, 16.28)
CIE-LCHlch(52.07, 41.40, 156.84°)
OKLaboklab(57.36% -0.1036 0.0412)
OKLCHoklch(57.36% 0.112 158.3)
XYZxyz(12.6614, 20.2094, 14.0578)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C5F #8C305D
analogous
#308C31 #308C5F #308B8C
triadic
#308C5F #5F308C #8C5F30
tetradic
#308C5F #31308C #8C305D #8B8C30
square
#308C5F #31308C #8C305D #8B8C30
split-complementary
#308C5F #8C308B #8C3130
monochromatic
#113121 #205E40 #308C5F #40BA7E #6ACC9C

Accessibility & contrast

On white

4.16
#308C5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#308C5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C5F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C5F#FFFFFF#000000##000000
##308C5F1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B815C
Deuteranopia (green-blind)
#7F7962
Tritanopia (blue-blind)
#008B80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308c5f;
/* rgb */ color: rgb(48, 140, 95);
/* oklch */ color: oklch(57.4% 0.112 158.3);
Tailwind
colors: {
  custom: {
    50: '#73ae8c',
    500: '#308c5f',
    950: '#000000',
  },
}
SCSS
$custom: #308c5f;
$custom-light: #73ae8c;
$custom-dark: #000000;
JSON
{
  "hex": "#308c5f",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 95
  },
  "hsl": {
    "h": 150.652,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.11155,
    "h": 158.3
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#308C5F
secondary
#B3648B
accent
#4F92D8
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #308C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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