#71811F#71811F

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

Color values

HEX#71811F
RGBrgb(113, 129, 31)
HSLhsl(70, 61%, 31%)
HSVhsv(70, 76%, 51%)
CMYKcmyk(12.4%, 0%, 76%, 49.4%)
CIE-LABlab(51.05, -19.35, 47.82)
CIE-LCHlch(51.05, 51.59, 112.03°)
OKLaboklab(57.14% -0.0577 0.1059)
OKLCHoklch(57.14% 0.121 118.6)
XYZxyz(14.9080, 19.3103, 4.2380)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71811F #2F1F81
analogous
#81601F #71811F #40811F
triadic
#71811F #1F7181 #811F71
tetradic
#71811F #1F8160 #2F1F81 #811F40
square
#71811F #1F8160 #2F1F81 #811F40
split-complementary
#71811F #1F4081 #601F81
monochromatic
#1B1E07 #465013 #71811F #9CB22B #BCD347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71811F#FFFFFF#000000##000000
##71811F1.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)
#8A790B
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#787A6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #71811f;
/* rgb */ color: rgb(113, 129, 31);
/* oklch */ color: oklch(57.1% 0.121 118.6);
Tailwind
colors: {
  custom: {
    50: '#9da563',
    500: '#71811f',
    950: '#000000',
  },
}
SCSS
$custom: #71811f;
$custom-light: #9da563;
$custom-dark: #000000;
JSON
{
  "hex": "#71811f",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 69.796,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.12062,
    "h": 118.6
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#71811F
secondary
#5A48B4
accent
#43E45E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #71811F

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

Preview Lab → · Contrast checker → · Palette generator →

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