#47821D#47821D

#47821D is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.6% C 0.145 H 135.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#47821D
RGBrgb(71, 130, 29)
HSLhsl(95, 64%, 31%)
HSVhsv(95, 78%, 51%)
CMYKcmyk(45.4%, 0%, 77.7%, 49%)
CIE-LABlab(48.75, -36.90, 45.43)
CIE-LCHlch(48.75, 58.53, 129.09°)
OKLaboklab(54.59% -0.103 0.1016)
OKLCHoklch(54.59% 0.145 135.4)
XYZxyz(10.8027, 17.3929, 3.9501)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47821D #581D82
analogous
#79821D #47821D #1D8226
triadic
#47821D #1D4782 #821D47
tetradic
#47821D #1D7982 #581D82 #82261D
square
#47821D #1D7982 #581D82 #82261D
split-complementary
#47821D #261D82 #821D79
monochromatic
#101E07 #2C5012 #47821D #62B428 #80D544

Accessibility & contrast

On white

4.69
#47821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#47821D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47821D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47821D#FFFFFF#000000##FFFFFF
##47821D1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#457D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #47821d;
/* rgb */ color: rgb(71, 130, 29);
/* oklch */ color: oklch(54.6% 0.145 135.4);
Tailwind
colors: {
  custom: {
    50: '#80a761',
    500: '#47821d',
    950: '#000000',
  },
}
SCSS
$custom: #47821d;
$custom-light: #80a761;
$custom-dark: #000000;
JSON
{
  "hex": "#47821d",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 95.05,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.14468,
    "h": 135.4
  },
  "luminance": 0.17394
}

Semantic roles & 50–950 ramp

primary
#47821D
secondary
#8746B5
accent
#41E7A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #47821D

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

Preview Lab → · Contrast checker → · Palette generator →

#47821D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva