#478A22#478A22

#478A22 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.152 H 136.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#478A22
RGBrgb(71, 138, 34)
HSLhsl(99, 60%, 34%)
HSVhsv(99, 75%, 54%)
CMYKcmyk(48.6%, 0%, 75.4%, 45.9%)
CIE-LABlab(51.42, -39.93, 46.22)
CIE-LCHlch(51.42, 61.08, 130.82°)
OKLaboklab(56.79% -0.1109 0.104)
OKLCHoklch(56.79% 0.152 136.8)
XYZxyz(11.9754, 19.6312, 4.6712)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478A22 #65228A
analogous
#7B8A22 #478A22 #228A31
triadic
#478A22 #22478A #8A2247
tetradic
#478A22 #227B8A #65228A #8A3122
square
#478A22 #227B8A #65228A #8A3122
split-complementary
#478A22 #31228A #8A227B
monochromatic
#14280A #2E5916 #478A22 #60BB2E #80D452

Accessibility & contrast

On white

4.26
#478A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#478A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##478A22#FFFFFF#000000##000000
##478A221.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)
#8F7E0E
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#438576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478a22;
/* rgb */ color: rgb(71, 138, 34);
/* oklch */ color: oklch(56.8% 0.152 136.8);
Tailwind
colors: {
  custom: {
    50: '#81ad65',
    500: '#478a22',
    950: '#000000',
  },
}
SCSS
$custom: #478a22;
$custom-light: #81ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#478a22",
  "rgb": {
    "r": 71,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 98.654,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.15199,
    "h": 136.8
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#478A22
secondary
#9350B8
accent
#44E4AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478A22

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

Preview Lab → · Contrast checker → · Palette generator →

#478A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva