#71831B#71831B

#71831B is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.6% C 0.125 H 119.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#71831B
RGBrgb(113, 131, 27)
HSLhsl(70, 66%, 31%)
HSVhsv(70, 79%, 51%)
CMYKcmyk(13.7%, 0%, 79.4%, 48.6%)
CIE-LABlab(51.64, -20.59, 49.76)
CIE-LCHlch(51.64, 53.85, 112.47°)
OKLaboklab(57.61% -0.0615 0.1093)
OKLCHoklch(57.61% 0.125 119.4)
XYZxyz(15.1245, 19.8225, 4.0661)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71831B #2D1B83
analogous
#83611B #71831B #3D831B
triadic
#71831B #1B7183 #831B71
tetradic
#71831B #1B8361 #2D1B83 #831B3D
square
#71831B #1B8361 #2D1B83 #831B3D
split-complementary
#71831B #1B3D83 #611B83
monochromatic
#191E06 #455011 #71831B #9DB625 #BED841

Accessibility & contrast

On white

4.23
#71831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#71831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71831B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71831B#FFFFFF#000000##000000
##71831B1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#787C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #71831b;
/* rgb */ color: rgb(113, 131, 27);
/* oklch */ color: oklch(57.6% 0.125 119.4);
Tailwind
colors: {
  custom: {
    50: '#9da761',
    500: '#71831b',
    950: '#000000',
  },
}
SCSS
$custom: #71831b;
$custom-light: #9da761;
$custom-dark: #000000;
JSON
{
  "hex": "#71831b",
  "rgb": {
    "r": 113,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 70.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.12539,
    "h": 119.4
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

primary
#71831B
secondary
#5743B6
accent
#3FE95C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #71831B

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

Preview Lab → · Contrast checker → · Palette generator →

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