#478162#478162

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

Color values

HEX#478162
RGBrgb(71, 129, 98)
HSLhsl(148, 29%, 39%)
HSVhsv(148, 45%, 51%)
CMYKcmyk(45%, 0%, 24%, 49.4%)
CIE-LABlab(49.40, -26.60, 10.99)
CIE-LCHlch(49.40, 28.78, 157.55°)
OKLaboklab(55.44% -0.0734 0.0281)
OKLCHoklch(55.44% 0.079 159)
XYZxyz(12.6525, 17.9211, 14.3453)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478162 #814766
analogous
#498147 #478162 #47817F
triadic
#478162 #624781 #816247
tetradic
#478162 #474981 #814766 #817F47
square
#478162 #474981 #814766 #817F47
split-complementary
#478162 #7F4781 #814749
monochromatic
#1C3226 #315A44 #478162 #5FA780 #86BC9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478162#FFFFFF#000000##000000
##4781621.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)
#807960
Deuteranopia (green-blind)
#777364
Tritanopia (blue-blind)
#398078
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #478162;
/* rgb */ color: rgb(71, 129, 98);
/* oklch */ color: oklch(55.4% 0.079 159.0);
Tailwind
colors: {
  custom: {
    50: '#7da68e',
    500: '#478162',
    950: '#000000',
  },
}
SCSS
$custom: #478162;
$custom-light: #7da68e;
$custom-dark: #000000;
JSON
{
  "hex": "#478162",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 147.931,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.07862,
    "h": 159
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#478162
secondary
#A87C93
accent
#6397C5
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A0F0C
muted
#7C7F7D

Preview Lab

Preview with #478162

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

Preview Lab → · Contrast checker → · Palette generator →

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