#478F17#478F17

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

Color values

HEX#478F17
RGBrgb(71, 143, 23)
HSLhsl(96, 72%, 33%)
HSVhsv(96, 84%, 56%)
CMYKcmyk(50.3%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.00, -42.63, 51.33)
CIE-LCHlch(53.00, 66.73, 129.71°)
OKLaboklab(58.07% -0.1188 0.113)
OKLCHoklch(58.07% 0.164 136.4)
XYZxyz(12.5753, 21.0455, 4.2100)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F17 #5F178F
analogous
#838F17 #478F17 #178F23
triadic
#478F17 #17478F #8F1747
tetradic
#478F17 #17838F #5F178F #8F2317
square
#478F17 #17838F #5F178F #8F2317
split-complementary
#478F17 #23178F #8F1783
monochromatic
#132606 #2D5A0F #478F17 #61C41F #80E040

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478F17#FFFFFF#000000##000000
##478F171.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)
#8B7C26
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #478f17;
/* rgb */ color: rgb(71, 143, 23);
/* oklch */ color: oklch(58.1% 0.164 136.4);
Tailwind
colors: {
  custom: {
    50: '#82b060',
    500: '#478f17',
    950: '#000000',
  },
}
SCSS
$custom: #478f17;
$custom-light: #82b060;
$custom-dark: #000000;
JSON
{
  "hex": "#478f17",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 96,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.16397,
    "h": 136.4
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

primary
#478F17
secondary
#8E41C1
accent
#39EFA6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478F17

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

Preview Lab → · Contrast checker → · Palette generator →

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