#478D14#478D14

#478D14 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.5% C 0.163 H 136.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#478D14
RGBrgb(71, 141, 20)
HSLhsl(95, 75%, 32%)
HSVhsv(95, 86%, 55%)
CMYKcmyk(49.6%, 0%, 85.8%, 44.7%)
CIE-LABlab(52.33, -41.97, 51.54)
CIE-LCHlch(52.33, 66.46, 129.16°)
OKLaboklab(57.51% -0.1172 0.113)
OKLCHoklch(57.51% 0.163 136)
XYZxyz(12.2494, 20.4390, 3.9613)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478D14 #5A148D
analogous
#848D14 #478D14 #148D1E
triadic
#478D14 #14478D #8D1447
tetradic
#478D14 #14848D #5A148D #8D1E14
square
#478D14 #14848D #5A148D #8D1E14
split-complementary
#478D14 #1E148D #8D1484
monochromatic
#112205 #2C570C #478D14 #62C31C #80E339

Accessibility & contrast

On white

4.13
#478D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#478D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478D14
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478D14#FFFFFF#000000##000000
##478D141.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#448778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #478d14;
/* rgb */ color: rgb(71, 141, 20);
/* oklch */ color: oklch(57.5% 0.163 136.0);
Tailwind
colors: {
  custom: {
    50: '#82af5f',
    500: '#478d14',
    950: '#000000',
  },
}
SCSS
$custom: #478d14;
$custom-light: #82af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#478d14",
  "rgb": {
    "r": 71,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 94.711,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57514,
    "c": 0.16278,
    "h": 136
  },
  "luminance": 0.2044
}

Semantic roles & 50–950 ramp

primary
#478D14
secondary
#893CC1
accent
#36F2A3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478D14

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

Preview Lab → · Contrast checker → · Palette generator →

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