#478F16#478F16

#478F16 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.164 H 136.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#478F16
RGBrgb(71, 143, 22)
HSLhsl(96, 73%, 32%)
HSVhsv(96, 85%, 56%)
CMYKcmyk(50.3%, 0%, 84.6%, 43.9%)
CIE-LABlab(52.99, -42.68, 51.61)
CIE-LCHlch(52.99, 66.97, 129.59°)
OKLaboklab(58.06% -0.119 0.1134)
OKLCHoklch(58.06% 0.164 136.4)
XYZxyz(12.5655, 21.0416, 4.1582)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478F16 #5E168F
analogous
#848F16 #478F16 #168F21
triadic
#478F16 #16478F #8F1647
tetradic
#478F16 #16848F #5E168F #8F2116
square
#478F16 #16848F #5E168F #8F2116
split-complementary
#478F16 #21168F #8F1684
monochromatic
#122506 #2D5A0E #478F16 #61C41E #80E13E

Accessibility & contrast

On white

4.03
#478F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#478F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478F16
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478F16#FFFFFF#000000##000000
##478F161.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#438979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #478f16;
/* rgb */ color: rgb(71, 143, 22);
/* oklch */ color: oklch(58.1% 0.164 136.4);
Tailwind
colors: {
  custom: {
    50: '#82b060',
    500: '#478f16',
    950: '#000000',
  },
}
SCSS
$custom: #478f16;
$custom-light: #82b060;
$custom-dark: #000000;
JSON
{
  "hex": "#478f16",
  "rgb": {
    "r": 71,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 95.702,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.16439,
    "h": 136.4
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #478F16

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

Preview Lab → · Contrast checker → · Palette generator →

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