#478C14#478C14

#478C14 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.2% C 0.162 H 135.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#478C14
RGBrgb(71, 140, 20)
HSLhsl(95, 75%, 31%)
HSVhsv(95, 86%, 55%)
CMYKcmyk(49.3%, 0%, 85.7%, 45.1%)
CIE-LABlab(52.00, -41.56, 51.25)
CIE-LCHlch(52.00, 65.98, 129.04°)
OKLaboklab(57.24% -0.1161 0.1124)
OKLCHoklch(57.24% 0.162 135.9)
XYZxyz(12.1026, 20.1455, 3.9124)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C14 #59148C
analogous
#838C14 #478C14 #148C1D
triadic
#478C14 #14478C #8C1447
tetradic
#478C14 #14838C #59148C #8C1D14
square
#478C14 #14838C #59148C #8C1D14
split-complementary
#478C14 #1D148C #8C1483
monochromatic
#112105 #2C560C #478C14 #62C21C #80E338

Accessibility & contrast

On white

4.18
#478C14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##478C14#FFFFFF#000000##000000
##478C141.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #478c14;
/* rgb */ color: rgb(71, 140, 20);
/* oklch */ color: oklch(57.2% 0.162 135.9);
Tailwind
colors: {
  custom: {
    50: '#82ae5f',
    500: '#478c14',
    950: '#000000',
  },
}
SCSS
$custom: #478c14;
$custom-light: #82ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478c14",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 20
  },
  "hsl": {
    "h": 94.5,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.16158,
    "h": 135.9
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#478C14
secondary
#883CC0
accent
#36F2A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478C14

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

Preview Lab → · Contrast checker → · Palette generator →

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