#478945#478945

#478945 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.9% C 0.121 H 143.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#478945
RGBrgb(71, 137, 69)
HSLhsl(118, 33%, 40%)
HSVhsv(118, 50%, 54%)
CMYKcmyk(48.2%, 0%, 49.6%, 46.3%)
CIE-LABlab(51.45, -35.67, 29.96)
CIE-LCHlch(51.45, 46.58, 139.97°)
OKLaboklab(56.93% -0.0971 0.0726)
OKLCHoklch(56.93% 0.121 143.2)
XYZxyz(12.6178, 19.6597, 8.7589)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478945 #874589
analogous
#698945 #478945 #458965
triadic
#478945 #454789 #894547
tetradic
#478945 #456989 #874589 #896545
square
#478945 #456989 #874589 #896545
split-complementary
#478945 #654589 #894569
monochromatic
#1D381C #326031 #478945 #60AE5E #88C286

Accessibility & contrast

On white

4.26
#478945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#478945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478945
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478945#FFFFFF#000000##000000
##4789451.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3F
Deuteranopia (green-blind)
#82784A
Tritanopia (blue-blind)
#3F8679
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #478945;
/* rgb */ color: rgb(71, 137, 69);
/* oklch */ color: oklch(56.9% 0.121 143.2);
Tailwind
colors: {
  custom: {
    50: '#7fac7a',
    500: '#478945',
    950: '#000000',
  },
}
SCSS
$custom: #478945;
$custom-light: #7fac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#478945",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 118.235,
    "s": 33.01,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.12125,
    "h": 143.2
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#478945
secondary
#AC7CAD
accent
#5FC9C6
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0A1009
muted
#7C7F7B

Preview Lab

Preview with #478945

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

Preview Lab → · Contrast checker → · Palette generator →

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