#478752#478752

#478752 is a mid, moderate green. Relative luminance 0.193; OKLCH L 56.6% C 0.105 H 148.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#478752
RGBrgb(71, 135, 82)
HSLhsl(130, 31%, 40%)
HSVhsv(130, 47%, 53%)
CMYKcmyk(47.4%, 0%, 39.3%, 47.1%)
CIE-LABlab(51.01, -32.64, 22.30)
CIE-LCHlch(51.01, 39.54, 145.66°)
OKLaboklab(56.64% -0.0887 0.0555)
OKLCHoklch(56.64% 0.105 148)
XYZxyz(12.7847, 19.2758, 11.0279)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478752 #87477C
analogous
#5C8747 #478752 #478772
triadic
#478752 #524787 #875247
tetradic
#478752 #475C87 #87477C #877247
square
#478752 #475C87 #87477C #877247
split-complementary
#478752 #724787 #87475C
monochromatic
#1D3721 #325F3A #478752 #60AB6D #88C092

Accessibility & contrast

On white

4.33
#478752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#478752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478752
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478752#FFFFFF#000000##000000
##4787521.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4E
Deuteranopia (green-blind)
#7F7755
Tritanopia (blue-blind)
#3C857A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #478752;
/* rgb */ color: rgb(71, 135, 82);
/* oklch */ color: oklch(56.6% 0.105 148.0);
Tailwind
colors: {
  custom: {
    50: '#7eaa83',
    500: '#478752',
    950: '#000000',
  },
}
SCSS
$custom: #478752;
$custom-light: #7eaa83;
$custom-dark: #000000;
JSON
{
  "hex": "#478752",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 130.313,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56637,
    "c": 0.10467,
    "h": 148
  },
  "luminance": 0.19277
}

Semantic roles & 50–950 ramp

primary
#478752
secondary
#AC7EA4
accent
#61B6C7
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #478752

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

Preview Lab → · Contrast checker → · Palette generator →

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