#478E17#478E17

#478E17 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.163 H 136.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#478E17
RGBrgb(71, 142, 23)
HSLhsl(96, 72%, 32%)
HSVhsv(96, 84%, 56%)
CMYKcmyk(50%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.67, -42.23, 51.04)
CIE-LCHlch(52.67, 66.24, 129.61°)
OKLaboklab(57.8% -0.1177 0.1124)
OKLCHoklch(57.8% 0.163 136.3)
XYZxyz(12.4258, 20.7466, 4.1602)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E17 #5E178E
analogous
#838E17 #478E17 #178E22
triadic
#478E17 #17478E #8E1747
tetradic
#478E17 #17838E #5E178E #8E2217
square
#478E17 #17838E #5E178E #8E2217
split-complementary
#478E17 #22178E #8E1783
monochromatic
#122506 #2D590E #478E17 #61C320 #80E03F

Accessibility & contrast

On white

4.08
#478E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#478E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478E17
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478E17#FFFFFF#000000##000000
##478E171.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#438879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e17;
/* rgb */ color: rgb(71, 142, 23);
/* oklch */ color: oklch(57.8% 0.163 136.3);
Tailwind
colors: {
  custom: {
    50: '#82b060',
    500: '#478e17',
    950: '#000000',
  },
}
SCSS
$custom: #478e17;
$custom-light: #82b060;
$custom-dark: #000000;
JSON
{
  "hex": "#478e17",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 95.798,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.16276,
    "h": 136.3
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

primary
#478E17
secondary
#8D40C0
accent
#39EFA5
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478E17

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

Preview Lab → · Contrast checker → · Palette generator →

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