#478422#478422

#478422 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.2% C 0.144 H 136.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#478422
RGBrgb(71, 132, 34)
HSLhsl(97, 59%, 33%)
HSVhsv(97, 74%, 52%)
CMYKcmyk(46.2%, 0%, 74.2%, 48.2%)
CIE-LABlab(49.44, -37.41, 44.24)
CIE-LCHlch(49.44, 57.94, 130.21°)
OKLaboklab(55.17% -0.104 0.0998)
OKLCHoklch(55.17% 0.144 136.2)
XYZxyz(11.1382, 17.9569, 4.3922)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478422 #5F2284
analogous
#788422 #478422 #22842E
triadic
#478422 #224784 #842247
tetradic
#478422 #227884 #5F2284 #842E22
square
#478422 #227884 #5F2284 #842E22
split-complementary
#478422 #2E2284 #842278
monochromatic
#132309 #2D5315 #478422 #61B52F #80D24F

Accessibility & contrast

On white

4.57
#478422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#478422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478422
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478422#FFFFFF#000000##000000
##4784221.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897911
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#447F71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #478422;
/* rgb */ color: rgb(71, 132, 34);
/* oklch */ color: oklch(55.2% 0.144 136.2);
Tailwind
colors: {
  custom: {
    50: '#80a864',
    500: '#478422',
    950: '#000000',
  },
}
SCSS
$custom: #478422;
$custom-light: #80a864;
$custom-dark: #000000;
JSON
{
  "hex": "#478422",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 97.347,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.14419,
    "h": 136.2
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#478422
secondary
#8E4DB5
accent
#46E2A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478422

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

Preview Lab → · Contrast checker → · Palette generator →

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