#71831A#71831A

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

Color values

HEX#71831A
RGBrgb(113, 131, 26)
HSLhsl(70, 67%, 31%)
HSVhsv(70, 80%, 51%)
CMYKcmyk(13.7%, 0%, 80.2%, 48.6%)
CIE-LABlab(51.63, -20.63, 50.08)
CIE-LCHlch(51.63, 54.17, 112.39°)
OKLaboklab(57.6% -0.0617 0.1098)
OKLCHoklch(57.6% 0.126 119.3)
XYZxyz(15.1131, 19.8180, 4.0062)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71831A #2C1A83
analogous
#83601A #71831A #3C831A
triadic
#71831A #1A7183 #831A71
tetradic
#71831A #1A8360 #2C1A83 #831A3C
square
#71831A #1A8360 #2C1A83 #831A3C
split-complementary
#71831A #1A3C83 #601A83
monochromatic
#191D06 #455010 #71831A #9DB624 #BED93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71831A#FFFFFF#000000##000000
##71831A1.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)
#8A7B24
Tritanopia (blue-blind)
#787C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #71831a;
/* rgb */ color: rgb(113, 131, 26);
/* oklch */ color: oklch(57.6% 0.126 119.3);
Tailwind
colors: {
  custom: {
    50: '#9da761',
    500: '#71831a',
    950: '#000000',
  },
}
SCSS
$custom: #71831a;
$custom-light: #9da761;
$custom-dark: #000000;
JSON
{
  "hex": "#71831a",
  "rgb": {
    "r": 113,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 70.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.12593,
    "h": 119.3
  },
  "luminance": 0.19818
}

Semantic roles & 50–950 ramp

primary
#71831A
secondary
#5642B7
accent
#3EEA5B
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #71831A

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

Preview Lab → · Contrast checker → · Palette generator →

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