#478E16#478E16

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

Color values

HEX#478E16
RGBrgb(71, 142, 22)
HSLhsl(96, 73%, 32%)
HSVhsv(96, 85%, 56%)
CMYKcmyk(50%, 0%, 84.5%, 44.3%)
CIE-LABlab(52.67, -42.28, 51.31)
CIE-LCHlch(52.67, 66.48, 129.49°)
OKLaboklab(57.79% -0.1179 0.1128)
OKLCHoklch(57.79% 0.163 136.3)
XYZxyz(12.4160, 20.7427, 4.1084)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478E16 #5D168E
analogous
#838E16 #478E16 #168E21
triadic
#478E16 #16478E #8E1647
tetradic
#478E16 #16838E #5D168E #8E2116
square
#478E16 #16838E #5D168E #8E2116
split-complementary
#478E16 #21168E #8E1683
monochromatic
#122406 #2D590E #478E16 #61C31E #80E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##478E16#FFFFFF#000000##000000
##478E161.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)
#8A7C25
Tritanopia (blue-blind)
#438879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478e16;
/* rgb */ color: rgb(71, 142, 22);
/* oklch */ color: oklch(57.8% 0.163 136.3);
Tailwind
colors: {
  custom: {
    50: '#82b060',
    500: '#478e16',
    950: '#000000',
  },
}
SCSS
$custom: #478e16;
$custom-light: #82b060;
$custom-dark: #000000;
JSON
{
  "hex": "#478e16",
  "rgb": {
    "r": 71,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 95.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.16318,
    "h": 136.3
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

primary
#478E16
secondary
#8C3FC1
accent
#38F0A5
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #478E16

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

Preview Lab → · Contrast checker → · Palette generator →

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