#478C1A#478C1A

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

Color values

HEX#478C1A
RGBrgb(71, 140, 26)
HSLhsl(96, 69%, 33%)
HSVhsv(96, 81%, 55%)
CMYKcmyk(49.3%, 0%, 81.4%, 45.1%)
CIE-LABlab(52.03, -41.26, 49.56)
CIE-LCHlch(52.03, 64.49, 129.78°)
OKLaboklab(57.28% -0.115 0.1097)
OKLCHoklch(57.28% 0.159 136.3)
XYZxyz(12.1627, 20.1695, 4.2293)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C1A #5F1A8C
analogous
#808C1A #478C1A #1A8C26
triadic
#478C1A #1A478C #8C1A47
tetradic
#478C1A #1A808C #5F1A8C #8C261A
square
#478C1A #1A808C #5F1A8C #8C261A
split-complementary
#478C1A #261A8C #8C1A80
monochromatic
#132507 #2D5810 #478C1A #61C024 #80DC44

Accessibility & contrast

On white

4.17
#478C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#478C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478C1A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478C1A#FFFFFF#000000##000000
##478C1A1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#448777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c1a;
/* rgb */ color: rgb(71, 140, 26);
/* oklch */ color: oklch(57.3% 0.159 136.3);
Tailwind
colors: {
  custom: {
    50: '#81ae61',
    500: '#478c1a',
    950: '#000000',
  },
}
SCSS
$custom: #478c1a;
$custom-light: #81ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#478c1a",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 96.316,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57275,
    "c": 0.15892,
    "h": 136.3
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

primary
#478C1A
secondary
#8E44BE
accent
#3CECA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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