#478921#478921

#478921 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.5% C 0.151 H 136.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#478921
RGBrgb(71, 137, 33)
HSLhsl(98, 61%, 33%)
HSVhsv(98, 76%, 54%)
CMYKcmyk(48.2%, 0%, 75.9%, 46.3%)
CIE-LABlab(51.08, -39.59, 46.26)
CIE-LCHlch(51.08, 60.89, 130.55°)
OKLaboklab(56.51% -0.11 0.1039)
OKLCHoklch(56.51% 0.151 136.6)
XYZxyz(11.8184, 19.3399, 4.5488)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478921 #632189
analogous
#7B8921 #478921 #21892F
triadic
#478921 #214789 #892147
tetradic
#478921 #217B89 #632189 #892F21
square
#478921 #217B89 #632189 #892F21
split-complementary
#478921 #2F2189 #89217B
monochromatic
#142609 #2D5815 #478921 #61BA2D #80D550

Accessibility & contrast

On white

4.31
#478921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#478921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478921
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478921#FFFFFF#000000##000000
##4789211.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#448475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #478921;
/* rgb */ color: rgb(71, 137, 33);
/* oklch */ color: oklch(56.5% 0.151 136.6);
Tailwind
colors: {
  custom: {
    50: '#81ac64',
    500: '#478921',
    950: '#000000',
  },
}
SCSS
$custom: #478921;
$custom-light: #81ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#478921",
  "rgb": {
    "r": 71,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 98.077,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.15132,
    "h": 136.6
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#478921
secondary
#914EB8
accent
#44E4AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #478921

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

Preview Lab → · Contrast checker → · Palette generator →

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