#478E13#478E13

#478E13 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#478E13
RGBrgb(71, 142, 19)
HSLhsl(95, 76%, 32%)
HSVhsv(95, 87%, 56%)
CMYKcmyk(50%, 0%, 86.6%, 44.3%)
CIE-LABlab(52.65, -42.41, 52.08)
CIE-LCHlch(52.65, 67.17, 129.16°)
OKLaboklab(57.78% -0.1184 0.114)
OKLCHoklch(57.78% 0.164 136.1)
XYZxyz(12.3887, 20.7318, 3.9648)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E13 #5A138E
analogous
#858E13 #478E13 #138E1C
triadic
#478E13 #13478E #8E1347
tetradic
#478E13 #13858E #5A138E #8E1C13
square
#478E13 #13858E #5A138E #8E1C13
split-complementary
#478E13 #1C138E #8E1385
monochromatic
#112205 #2C580C #478E13 #62C41A #80E437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #478e13;
/* rgb */ color: rgb(71, 142, 19);
/* oklch */ color: oklch(57.8% 0.164 136.1);
Tailwind
colors: {
  custom: {
    50: '#82b05f',
    500: '#478e13',
    950: '#000000',
  },
}
SCSS
$custom: #478e13;
$custom-light: #82b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#478e13",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 94.634,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.16437,
    "h": 136.1
  },
  "luminance": 0.20733
}

Semantic roles & 50–950 ramp

primary
#478E13
secondary
#893BC2
accent
#35F3A3
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478E13

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

Preview Lab → · Contrast checker → · Palette generator →

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