#478E14#478E14

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

Color values

HEX#478E14
RGBrgb(71, 142, 20)
HSLhsl(95, 75%, 32%)
HSVhsv(95, 86%, 56%)
CMYKcmyk(50%, 0%, 85.9%, 44.3%)
CIE-LABlab(52.66, -42.37, 51.83)
CIE-LCHlch(52.66, 66.95, 129.26°)
OKLaboklab(57.79% -0.1183 0.1136)
OKLCHoklch(57.79% 0.164 136.1)
XYZxyz(12.3975, 20.7353, 4.0107)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E14 #5B148E
analogous
#848E14 #478E14 #148E1E
triadic
#478E14 #14478E #8E1447
tetradic
#478E14 #14848E #5B148E #8E1E14
square
#478E14 #14848E #5B148E #8E1E14
split-complementary
#478E14 #1E148E #8E1484
monochromatic
#112305 #2C580C #478E14 #62C41C #80E339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478E14#FFFFFF#000000##000000
##478E141.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)
#8A7C24
Tritanopia (blue-blind)
#448878
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e14;
/* rgb */ color: rgb(71, 142, 20);
/* oklch */ color: oklch(57.8% 0.164 136.1);
Tailwind
colors: {
  custom: {
    50: '#82b05f',
    500: '#478e14',
    950: '#000000',
  },
}
SCSS
$custom: #478e14;
$custom-light: #82b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#478e14",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 94.918,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57785,
    "c": 0.16399,
    "h": 136.1
  },
  "luminance": 0.20736
}

Semantic roles & 50–950 ramp

primary
#478E14
secondary
#8A3CC2
accent
#36F2A3
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478E14

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

Preview Lab → · Contrast checker → · Palette generator →

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