#478C24#478C24

#478C24 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.153 H 137.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#478C24
RGBrgb(71, 140, 36)
HSLhsl(100, 59%, 35%)
HSVhsv(100, 74%, 55%)
CMYKcmyk(49.3%, 0%, 74.3%, 45.1%)
CIE-LABlab(52.09, -40.61, 46.14)
CIE-LCHlch(52.09, 61.46, 131.36°)
OKLaboklab(57.34% -0.1126 0.1041)
OKLCHoklch(57.34% 0.153 137.2)
XYZxyz(12.2947, 20.2223, 4.9242)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C24 #69248C
analogous
#7B8C24 #478C24 #248C35
triadic
#478C24 #24478C #8C2447
tetradic
#478C24 #247B8C #69248C #8C3524
square
#478C24 #247B8C #69248C #8C3524
split-complementary
#478C24 #35248C #8C247B
monochromatic
#162B0B #2E5B17 #478C24 #60BD31 #81D457

Accessibility & contrast

On white

4.16
#478C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#478C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C24
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C24#FFFFFF#000000##000000
##478C241.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#438778
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c24;
/* rgb */ color: rgb(71, 140, 36);
/* oklch */ color: oklch(57.3% 0.153 137.2);
Tailwind
colors: {
  custom: {
    50: '#81ae66',
    500: '#478c24',
    950: '#000000',
  },
}
SCSS
$custom: #478c24;
$custom-light: #81ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#478c24",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 99.808,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57342,
    "c": 0.15331,
    "h": 137.2
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#478C24
secondary
#9654B8
accent
#46E2AE
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478C24

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

Preview Lab → · Contrast checker → · Palette generator →

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