#478120#478120

#478120 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.142 H 135.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#478120
RGBrgb(71, 129, 32)
HSLhsl(96, 60%, 32%)
HSVhsv(96, 75%, 51%)
CMYKcmyk(45%, 0%, 75.2%, 49.4%)
CIE-LABlab(48.44, -36.27, 44.01)
CIE-LCHlch(48.44, 57.03, 129.49°)
OKLaboklab(54.34% -0.1011 0.0991)
OKLCHoklch(54.34% 0.142 135.6)
XYZxyz(10.7092, 17.1438, 4.1110)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478120 #5A2081
analogous
#788120 #478120 #20812A
triadic
#478120 #204781 #812047
tetradic
#478120 #207881 #5A2081 #812A20
square
#478120 #207881 #5A2081 #812A20
split-complementary
#478120 #2A2081 #812078
monochromatic
#111F08 #2C5014 #478120 #62B22C #80D249

Accessibility & contrast

On white

4.74
#478120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#478120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478120
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478120#FFFFFF#000000##FFFFFF
##4781201.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#457C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #478120;
/* rgb */ color: rgb(71, 129, 32);
/* oklch */ color: oklch(54.3% 0.142 135.6);
Tailwind
colors: {
  custom: {
    50: '#80a662',
    500: '#478120',
    950: '#000000',
  },
}
SCSS
$custom: #478120;
$custom-light: #80a662;
$custom-dark: #000000;
JSON
{
  "hex": "#478120",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 95.876,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.14153,
    "h": 135.6
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#478120
secondary
#8949B4
accent
#44E3A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #478120

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

Preview Lab → · Contrast checker → · Palette generator →

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