#71811C#71811C

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

Color values

HEX#71811C
RGBrgb(113, 129, 28)
HSLhsl(70, 64%, 31%)
HSVhsv(70, 78%, 51%)
CMYKcmyk(12.4%, 0%, 78.3%, 49.4%)
CIE-LABlab(51.03, -19.51, 48.87)
CIE-LCHlch(51.03, 52.62, 111.76°)
OKLaboklab(57.12% -0.0584 0.1076)
OKLCHoklch(57.12% 0.122 118.5)
XYZxyz(14.8702, 19.2952, 4.0394)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71811C #2C1C81
analogous
#815E1C #71811C #3E811C
triadic
#71811C #1C7181 #811C71
tetradic
#71811C #1C815E #2C1C81 #811C3E
square
#71811C #1C815E #2C1C81 #811C3E
split-complementary
#71811C #1C3E81 #5E1C81
monochromatic
#191C06 #454F11 #71811C #9DB327 #BED642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71811C#FFFFFF#000000##000000
##71811C1.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)
#8A7903
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#787A6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #71811c;
/* rgb */ color: rgb(113, 129, 28);
/* oklch */ color: oklch(57.1% 0.122 118.5);
Tailwind
colors: {
  custom: {
    50: '#9da561',
    500: '#71811c',
    950: '#000000',
  },
}
SCSS
$custom: #71811c;
$custom-light: #9da561;
$custom-dark: #000000;
JSON
{
  "hex": "#71811c",
  "rgb": {
    "r": 113,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 69.505,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.12241,
    "h": 118.5
  },
  "luminance": 0.19295
}

Semantic roles & 50–950 ramp

primary
#71811C
secondary
#5644B4
accent
#40E75B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #71811C

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

Preview Lab → · Contrast checker → · Palette generator →

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