#478011#478011

#478011 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.148 H 134.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#478011
RGBrgb(71, 128, 17)
HSLhsl(91, 77%, 28%)
HSVhsv(91, 87%, 50%)
CMYKcmyk(44.5%, 0%, 86.7%, 49.8%)
CIE-LABlab(48.03, -36.70, 48.50)
CIE-LCHlch(48.03, 60.82, 127.11°)
OKLaboklab(53.98% -0.1032 0.1061)
OKLCHoklch(53.98% 0.148 134.2)
XYZxyz(10.4187, 16.8178, 3.2274)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478011 #4A1180
analogous
#7E8011 #478011 #118012
triadic
#478011 #114780 #801147
tetradic
#478011 #117E80 #4A1180 #801211
square
#478011 #117E80 #4A1180 #801211
split-complementary
#478011 #121180 #80117E
monochromatic
#0F1B04 #294A0A #478011 #65B618 #83E329

Accessibility & contrast

On white

4.81
#478011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#478011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #478011
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478011#FFFFFF#000000##FFFFFF
##4780111.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#467B6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #478011;
/* rgb */ color: rgb(71, 128, 17);
/* oklch */ color: oklch(54.0% 0.148 134.2);
Tailwind
colors: {
  custom: {
    50: '#80a55c',
    500: '#478011',
    950: '#000000',
  },
}
SCSS
$custom: #478011;
$custom-light: #80a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#478011",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 90.811,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.14805,
    "h": 134.2
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#478011
secondary
#7837B6
accent
#35F396
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #478011

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

Preview Lab → · Contrast checker → · Palette generator →

#478011 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva