#308752#308752

#308752 is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.7% C 0.117 H 153.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#308752
RGBrgb(48, 135, 82)
HSLhsl(143, 48%, 36%)
HSVhsv(143, 64%, 53%)
CMYKcmyk(64.4%, 0%, 39.3%, 47.1%)
CIE-LABlab(50.17, -38.62, 21.05)
CIE-LCHlch(50.17, 43.98, 151.41°)
OKLaboklab(55.72% -0.1045 0.0526)
OKLCHoklch(55.72% 0.117 153.3)
XYZxyz(11.4049, 18.5644, 10.9632)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308752 #873065
analogous
#398730 #308752 #30877D
triadic
#308752 #523087 #875230
tetradic
#308752 #303987 #873065 #877D30
square
#308752 #303987 #873065 #877D30
split-complementary
#308752 #7D3087 #873039
monochromatic
#102D1B #205A37 #308752 #40B46D #68C98E

Accessibility & contrast

On white

4.46
#308752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#308752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308752
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308752#FFFFFF#000000##000000
##3087521.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#7C7455
Tritanopia (blue-blind)
#0B857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #308752;
/* rgb */ color: rgb(48, 135, 82);
/* oklch */ color: oklch(55.7% 0.117 153.3);
Tailwind
colors: {
  custom: {
    50: '#72ab83',
    500: '#308752',
    950: '#000000',
  },
}
SCSS
$custom: #308752;
$custom-light: #72ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#308752",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 143.448,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5572,
    "c": 0.11697,
    "h": 153.3
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#308752
secondary
#B16292
accent
#51A3D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308752

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

Preview Lab → · Contrast checker → · Palette generator →

#308752 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva