#478751#478751

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

Color values

HEX#478751
RGBrgb(71, 135, 81)
HSLhsl(129, 31%, 40%)
HSVhsv(129, 47%, 53%)
CMYKcmyk(47.4%, 0%, 40%, 47.1%)
CIE-LABlab(50.99, -32.82, 22.84)
CIE-LCHlch(50.99, 39.98, 145.17°)
OKLaboklab(56.62% -0.0892 0.0567)
OKLCHoklch(56.62% 0.106 147.5)
XYZxyz(12.7470, 19.2607, 10.8290)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478751 #87477D
analogous
#5D8747 #478751 #478771
triadic
#478751 #514787 #875147
tetradic
#478751 #475D87 #87477D #877147
square
#478751 #475D87 #87477D #877147
split-complementary
#478751 #714787 #87475D
monochromatic
#1D3721 #325F39 #478751 #60AB6C #88C091

Accessibility & contrast

On white

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

On black

4.85
#478751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478751
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478751#FFFFFF#000000##000000
##4787511.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4D
Deuteranopia (green-blind)
#7F7754
Tritanopia (blue-blind)
#3C8579
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #478751;
/* rgb */ color: rgb(71, 135, 81);
/* oklch */ color: oklch(56.6% 0.106 147.5);
Tailwind
colors: {
  custom: {
    50: '#7eaa82',
    500: '#478751',
    950: '#000000',
  },
}
SCSS
$custom: #478751;
$custom-light: #7eaa82;
$custom-dark: #000000;
JSON
{
  "hex": "#478751",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 129.375,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.10573,
    "h": 147.5
  },
  "luminance": 0.19262
}

Semantic roles & 50–950 ramp

primary
#478751
secondary
#AC7EA5
accent
#61B7C7
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #478751

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

Preview Lab → · Contrast checker → · Palette generator →

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