#478F13#478F13

#478F13 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.166 H 136.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#478F13
RGBrgb(71, 143, 19)
HSLhsl(95, 77%, 32%)
HSVhsv(95, 87%, 56%)
CMYKcmyk(50.3%, 0%, 86.7%, 43.9%)
CIE-LABlab(52.98, -42.81, 52.37)
CIE-LCHlch(52.98, 67.64, 129.27°)
OKLaboklab(58.05% -0.1195 0.1146)
OKLCHoklch(58.05% 0.166 136.2)
XYZxyz(12.5382, 21.0307, 4.0146)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F13 #5B138F
analogous
#858F13 #478F13 #138F1D
triadic
#478F13 #13478F #8F1347
tetradic
#478F13 #13858F #5B138F #8F1D13
square
#478F13 #13858F #5B138F #8F1D13
split-complementary
#478F13 #1D138F #8F1385
monochromatic
#112305 #2C590C #478F13 #62C51A #80E538

Accessibility & contrast

On white

4.03
#478F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#478F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F13
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F13#FFFFFF#000000##000000
##478F131.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478f13;
/* rgb */ color: rgb(71, 143, 19);
/* oklch */ color: oklch(58.1% 0.166 136.2);
Tailwind
colors: {
  custom: {
    50: '#82b05f',
    500: '#478f13',
    950: '#000000',
  },
}
SCSS
$custom: #478f13;
$custom-light: #82b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#478f13",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 94.839,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.16556,
    "h": 136.2
  },
  "luminance": 0.21032
}

Semantic roles & 50–950 ramp

primary
#478F13
secondary
#8A3BC3
accent
#35F3A3
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478F13

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

Preview Lab → · Contrast checker → · Palette generator →

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