#478E15#478E15

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

Color values

HEX#478E15
RGBrgb(71, 142, 21)
HSLhsl(95, 74%, 32%)
HSVhsv(95, 85%, 56%)
CMYKcmyk(50%, 0%, 85.2%, 44.3%)
CIE-LABlab(52.66, -42.32, 51.57)
CIE-LCHlch(52.66, 66.72, 129.37°)
OKLaboklab(57.79% -0.1181 0.1132)
OKLCHoklch(57.79% 0.164 136.2)
XYZxyz(12.4066, 20.7389, 4.0586)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E15 #5C158E
analogous
#848E15 #478E15 #158E20
triadic
#478E15 #15478E #8E1547
tetradic
#478E15 #15848E #5C158E #8E2015
square
#478E15 #15848E #5C158E #8E2015
split-complementary
#478E15 #20158E #8E1584
monochromatic
#122305 #2C590D #478E15 #62C31D #80E23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478E15#FFFFFF#000000##000000
##478E151.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)
#8A7C25
Tritanopia (blue-blind)
#448879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e15;
/* rgb */ color: rgb(71, 142, 21);
/* oklch */ color: oklch(57.8% 0.164 136.2);
Tailwind
colors: {
  custom: {
    50: '#82b05f',
    500: '#478e15',
    950: '#000000',
  },
}
SCSS
$custom: #478e15;
$custom-light: #82b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#478e15",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 95.207,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.1636,
    "h": 136.2
  },
  "luminance": 0.2074
}

Semantic roles & 50–950 ramp

primary
#478E15
secondary
#8B3DC2
accent
#37F1A4
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478E15

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

Preview Lab → · Contrast checker → · Palette generator →

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