#478C17#478C17

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

Color values

HEX#478C17
RGBrgb(71, 140, 23)
HSLhsl(95, 72%, 32%)
HSVhsv(95, 84%, 55%)
CMYKcmyk(49.3%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.01, -41.42, 50.44)
CIE-LCHlch(52.01, 65.27, 129.39°)
OKLaboklab(57.26% -0.1156 0.1111)
OKLCHoklch(57.26% 0.16 136.1)
XYZxyz(12.1309, 20.1568, 4.0619)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C17 #5C178C
analogous
#828C17 #478C17 #178C22
triadic
#478C17 #17478C #8C1747
tetradic
#478C17 #17828C #5C178C #8C2217
square
#478C17 #17828C #5C178C #8C2217
split-complementary
#478C17 #22178C #8C1782
monochromatic
#122306 #2C570E #478C17 #62C120 #80DF3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478C17#FFFFFF#000000##000000
##478C171.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)
#887A25
Tritanopia (blue-blind)
#448777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c17;
/* rgb */ color: rgb(71, 140, 23);
/* oklch */ color: oklch(57.3% 0.160 136.1);
Tailwind
colors: {
  custom: {
    50: '#82ae60',
    500: '#478c17',
    950: '#000000',
  },
}
SCSS
$custom: #478c17;
$custom-light: #82ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#478c17",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 95.385,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.16032,
    "h": 136.1
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#478C17
secondary
#8B3FBF
accent
#39EFA4
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478C17

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

Preview Lab → · Contrast checker → · Palette generator →

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