#478351#478351

#478351 is a mid, moderate green. Relative luminance 0.182; OKLCH L 55.6% C 0.099 H 148.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#478351
RGBrgb(71, 131, 81)
HSLhsl(130, 30%, 40%)
HSVhsv(130, 46%, 51%)
CMYKcmyk(45.8%, 0%, 38.2%, 48.6%)
CIE-LABlab(49.70, -30.96, 21.13)
CIE-LCHlch(49.70, 37.48, 145.69°)
OKLaboklab(55.56% -0.0842 0.0527)
OKLCHoklch(55.56% 0.099 148)
XYZxyz(12.1993, 18.1654, 10.6464)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478351 #834779
analogous
#5B8347 #478351 #47836F
triadic
#478351 #514783 #835147
tetradic
#478351 #475B83 #834779 #836F47
square
#478351 #475B83 #834779 #836F47
split-complementary
#478351 #6F4783 #83475B
monochromatic
#1C3420 #315B38 #478351 #5FA86B #87BE90

Accessibility & contrast

On white

4.53
#478351 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#478351 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478351
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478351#FFFFFF#000000##000000
##4783511.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A4E
Deuteranopia (green-blind)
#7B7454
Tritanopia (blue-blind)
#3D8176
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #478351;
/* rgb */ color: rgb(71, 131, 81);
/* oklch */ color: oklch(55.6% 0.099 148.0);
Tailwind
colors: {
  custom: {
    50: '#7ea782',
    500: '#478351',
    950: '#000000',
  },
}
SCSS
$custom: #478351;
$custom-light: #7ea782;
$custom-dark: #000000;
JSON
{
  "hex": "#478351",
  "rgb": {
    "r": 71,
    "g": 131,
    "b": 81
  },
  "hsl": {
    "h": 130,
    "s": 29.703,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.09935,
    "h": 148
  },
  "luminance": 0.18166
}

Semantic roles & 50–950 ramp

primary
#478351
secondary
#A97CA2
accent
#62B5C6
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#0A0F0A
muted
#7C7F7C

Preview Lab

Preview with #478351

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

Preview Lab → · Contrast checker → · Palette generator →

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