#71821B#71821B

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

Color values

HEX#71821B
RGBrgb(113, 130, 27)
HSLhsl(70, 66%, 31%)
HSVhsv(70, 79%, 51%)
CMYKcmyk(13.1%, 0%, 79.2%, 49%)
CIE-LABlab(51.33, -20.07, 49.48)
CIE-LCHlch(51.33, 53.40, 112.08°)
OKLaboklab(57.36% -0.0601 0.1087)
OKLCHoklch(57.36% 0.124 118.9)
XYZxyz(14.9908, 19.5552, 4.0215)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71821B #2C1B82
analogous
#825F1B #71821B #3D821B
triadic
#71821B #1B7182 #821B71
tetradic
#71821B #1B825F #2C1B82 #821B3D
square
#71821B #1B825F #2C1B82 #821B3D
split-complementary
#71821B #1B3D82 #5F1B82
monochromatic
#191D06 #454F10 #71821B #9DB526 #BED740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71821B#FFFFFF#000000##000000
##71821B1.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)
#897B25
Tritanopia (blue-blind)
#787B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #71821b;
/* rgb */ color: rgb(113, 130, 27);
/* oklch */ color: oklch(57.4% 0.124 118.9);
Tailwind
colors: {
  custom: {
    50: '#9da661',
    500: '#71821b',
    950: '#000000',
  },
}
SCSS
$custom: #71821b;
$custom-light: #9da661;
$custom-dark: #000000;
JSON
{
  "hex": "#71821b",
  "rgb": {
    "r": 113,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 69.903,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.12418,
    "h": 118.9
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#71821B
secondary
#5643B6
accent
#3FE95B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #71821B

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

Preview Lab → · Contrast checker → · Palette generator →

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