#71811B#71811B

#71811B is a mid, vivid yellow. Relative luminance 0.193; OKLCH L 57.1% C 0.123 H 118.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#71811B
RGBrgb(113, 129, 27)
HSLhsl(69, 65%, 31%)
HSVhsv(69, 79%, 51%)
CMYKcmyk(12.4%, 0%, 79.1%, 49.4%)
CIE-LABlab(51.03, -19.55, 49.20)
CIE-LCHlch(51.03, 52.94, 111.67°)
OKLaboklab(57.11% -0.0586 0.1081)
OKLCHoklch(57.11% 0.123 118.5)
XYZxyz(14.8585, 19.2905, 3.9774)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71811B #2B1B81
analogous
#815E1B #71811B #3E811B
triadic
#71811B #1B7181 #811B71
tetradic
#71811B #1B815E #2B1B81 #811B3E
square
#71811B #1B815E #2B1B81 #811B3E
split-complementary
#71811B #1B3E81 #5E1B81
monochromatic
#181C06 #454E10 #71811B #9DB426 #BFD73F

Accessibility & contrast

On white

4.32
#71811B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#71811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71811B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71811B#FFFFFF#000000##000000
##71811B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7901
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#787A6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #71811b;
/* rgb */ color: rgb(113, 129, 27);
/* oklch */ color: oklch(57.1% 0.123 118.5);
Tailwind
colors: {
  custom: {
    50: '#9da561',
    500: '#71811b',
    950: '#000000',
  },
}
SCSS
$custom: #71811b;
$custom-light: #9da561;
$custom-dark: #000000;
JSON
{
  "hex": "#71811b",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 69.412,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57113,
    "c": 0.12298,
    "h": 118.5
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#71811B
secondary
#5543B5
accent
#3FE85A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #71811B

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

Preview Lab → · Contrast checker → · Palette generator →

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