#478C11#478C11

#478C11 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.2% C 0.163 H 135.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#478C11
RGBrgb(71, 140, 17)
HSLhsl(94, 78%, 31%)
HSVhsv(94, 88%, 55%)
CMYKcmyk(49.3%, 0%, 87.9%, 45.1%)
CIE-LABlab(51.99, -41.69, 51.98)
CIE-LCHlch(51.99, 66.63, 128.73°)
OKLaboklab(57.23% -0.1166 0.1135)
OKLCHoklch(57.23% 0.163 135.8)
XYZxyz(12.0775, 20.1354, 3.7803)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478C11 #56118C
analogous
#848C11 #478C11 #118C19
triadic
#478C11 #11478C #8C1147
tetradic
#478C11 #11848C #56118C #8C1911
square
#478C11 #11848C #56118C #8C1911
split-complementary
#478C11 #19118C #8C1184
monochromatic
#101F04 #2B550A #478C11 #63C318 #81E631

Accessibility & contrast

On white

4.18
#478C11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##478C11#FFFFFF#000000##000000
##478C111.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#448677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #478c11;
/* rgb */ color: rgb(71, 140, 17);
/* oklch */ color: oklch(57.2% 0.163 135.8);
Tailwind
colors: {
  custom: {
    50: '#82ae5e',
    500: '#478c11',
    950: '#000000',
  },
}
SCSS
$custom: #478c11;
$custom-light: #82ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#478c11",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 17
  },
  "hsl": {
    "h": 93.659,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57231,
    "c": 0.1627,
    "h": 135.8
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#478C11
secondary
#8538C1
accent
#33F5A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478C11

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

Preview Lab → · Contrast checker → · Palette generator →

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