#478451#478451

#478451 is a mid, moderate green. Relative luminance 0.184; OKLCH L 55.8% C 0.101 H 147.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#478451
RGBrgb(71, 132, 81)
HSLhsl(130, 30%, 40%)
HSVhsv(130, 46%, 52%)
CMYKcmyk(46.2%, 0%, 38.6%, 48.2%)
CIE-LABlab(50.02, -31.43, 21.56)
CIE-LCHlch(50.02, 38.11, 145.55°)
OKLaboklab(55.83% -0.0855 0.0537)
OKLCHoklch(55.83% 0.101 147.8)
XYZxyz(12.3343, 18.4354, 10.6914)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478451 #84477A
analogous
#5C8447 #478451 #478470
triadic
#478451 #514784 #845147
tetradic
#478451 #475C84 #84477A #847047
square
#478451 #475C84 #84477A #847047
split-complementary
#478451 #704784 #84475C
monochromatic
#1C3420 #325C39 #478451 #5FA96B #87BE90

Accessibility & contrast

On white

4.48
#478451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#478451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478451
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478451#FFFFFF#000000##000000
##4784511.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857B4E
Deuteranopia (green-blind)
#7C7554
Tritanopia (blue-blind)
#3D8277
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #478451;
/* rgb */ color: rgb(71, 132, 81);
/* oklch */ color: oklch(55.8% 0.101 147.8);
Tailwind
colors: {
  custom: {
    50: '#7ea882',
    500: '#478451',
    950: '#000000',
  },
}
SCSS
$custom: #478451;
$custom-light: #7ea882;
$custom-dark: #000000;
JSON
{
  "hex": "#478451",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 129.836,
    "s": 30.049,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55825,
    "c": 0.10095,
    "h": 147.8
  },
  "luminance": 0.18436
}

Semantic roles & 50–950 ramp

primary
#478451
secondary
#AA7DA3
accent
#62B6C6
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#0A0F0A
muted
#7C7F7C

Preview Lab

Preview with #478451

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

Preview Lab → · Contrast checker → · Palette generator →

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