#71821A#71821A

#71821A is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.4% C 0.125 H 118.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#71821A
RGBrgb(113, 130, 26)
HSLhsl(70, 67%, 31%)
HSVhsv(70, 80%, 51%)
CMYKcmyk(13.1%, 0%, 80%, 49%)
CIE-LABlab(51.33, -20.12, 49.81)
CIE-LCHlch(51.33, 53.72, 111.99°)
OKLaboklab(57.35% -0.0603 0.1092)
OKLCHoklch(57.35% 0.125 118.9)
XYZxyz(14.9795, 19.5507, 3.9616)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71821A #2B1A82
analogous
#825F1A #71821A #3D821A
triadic
#71821A #1A7182 #821A71
tetradic
#71821A #1A825F #2B1A82 #821A3D
square
#71821A #1A825F #2B1A82 #821A3D
split-complementary
#71821A #1A3D82 #5F1A82
monochromatic
#181C06 #454F10 #71821A #9DB524 #BFD83E

Accessibility & contrast

On white

4.28
#71821A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#71821A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71821A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71821A#FFFFFF#000000##000000
##71821A1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#787B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #71821a;
/* rgb */ color: rgb(113, 130, 26);
/* oklch */ color: oklch(57.4% 0.125 118.9);
Tailwind
colors: {
  custom: {
    50: '#9da660',
    500: '#71821a',
    950: '#000000',
  },
}
SCSS
$custom: #71821a;
$custom-light: #9da660;
$custom-dark: #000000;
JSON
{
  "hex": "#71821a",
  "rgb": {
    "r": 113,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 69.808,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.12472,
    "h": 118.9
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#71821A
secondary
#5542B6
accent
#3EEA5A
background
#FAFAF5
surface
#F3F4EA
border
#CDCEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #71821A

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

Preview Lab → · Contrast checker → · Palette generator →

#71821A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva