#478E11#478E11

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

Color values

HEX#478E11
RGBrgb(71, 142, 17)
HSLhsl(94, 79%, 31%)
HSVhsv(94, 88%, 56%)
CMYKcmyk(50%, 0%, 88%, 44.3%)
CIE-LABlab(52.65, -42.49, 52.55)
CIE-LCHlch(52.65, 67.58, 128.96°)
OKLaboklab(57.77% -0.1187 0.1147)
OKLCHoklch(57.77% 0.165 136)
XYZxyz(12.3724, 20.7252, 3.8786)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E11 #58118E
analogous
#858E11 #478E11 #118E19
triadic
#478E11 #11478E #8E1147
tetradic
#478E11 #11858E #58118E #8E1911
square
#478E11 #11858E #58118E #8E1911
split-complementary
#478E11 #19118E #8E1185
monochromatic
#102104 #2C570A #478E11 #62C518 #80E733

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #478e11;
/* rgb */ color: rgb(71, 142, 17);
/* oklch */ color: oklch(57.8% 0.165 136.0);
Tailwind
colors: {
  custom: {
    50: '#82b05e',
    500: '#478e11',
    950: '#000000',
  },
}
SCSS
$custom: #478e11;
$custom-light: #82b05e;
$custom-dark: #000000;
JSON
{
  "hex": "#478e11",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 94.08,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57772,
    "c": 0.16509,
    "h": 136
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#478E11
secondary
#8738C2
accent
#33F5A1
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #478E11

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

Preview Lab → · Contrast checker → · Palette generator →

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