#478161#478161

#478161 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.4% C 0.080 H 158.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#478161
RGBrgb(71, 129, 97)
HSLhsl(147, 29%, 39%)
HSVhsv(147, 45%, 51%)
CMYKcmyk(45%, 0%, 24.8%, 49.4%)
CIE-LABlab(49.38, -26.82, 11.54)
CIE-LCHlch(49.38, 29.19, 156.72°)
OKLaboklab(55.41% -0.0739 0.0295)
OKLCHoklch(55.41% 0.08 158.2)
XYZxyz(12.6055, 17.9023, 14.0982)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478161 #814767
analogous
#4A8147 #478161 #47817E
triadic
#478161 #614781 #816147
tetradic
#478161 #474A81 #814767 #817E47
square
#478161 #474A81 #814767 #817E47
split-complementary
#478161 #7E4781 #81474A
monochromatic
#1C3226 #315A43 #478161 #5FA77F #86BC9E

Accessibility & contrast

On white

4.58
#478161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#478161 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478161
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478161#FFFFFF#000000##000000
##4781611.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80795F
Deuteranopia (green-blind)
#777363
Tritanopia (blue-blind)
#398078
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478161;
/* rgb */ color: rgb(71, 129, 97);
/* oklch */ color: oklch(55.4% 0.080 158.2);
Tailwind
colors: {
  custom: {
    50: '#7da68e',
    500: '#478161',
    950: '#000000',
  },
}
SCSS
$custom: #478161;
$custom-light: #7da68e;
$custom-dark: #000000;
JSON
{
  "hex": "#478161",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 97
  },
  "hsl": {
    "h": 146.897,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55409,
    "c": 0.07957,
    "h": 158.2
  },
  "luminance": 0.17903
}

Semantic roles & 50–950 ramp

primary
#478161
secondary
#A87C94
accent
#6399C5
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A0F0C
muted
#7C7F7D

Preview Lab

Preview with #478161

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

Preview Lab → · Contrast checker → · Palette generator →

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