#71791C#71791C

#71791C is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.2% C 0.113 H 114.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#71791C
RGBrgb(113, 121, 28)
HSLhsl(65, 62%, 29%)
HSVhsv(65, 77%, 47%)
CMYKcmyk(6.6%, 0%, 76.9%, 52.5%)
CIE-LABlab(48.60, -15.28, 46.58)
CIE-LCHlch(48.60, 49.03, 108.16°)
OKLaboklab(55.16% -0.0467 0.1027)
OKLCHoklch(55.16% 0.113 114.5)
XYZxyz(13.8574, 17.2696, 3.7018)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71791C #241C79
analogous
#79531C #71791C #43791C
triadic
#71791C #1C7179 #791C71
tetradic
#71791C #1C7953 #241C79 #791C43
square
#71791C #1C7953 #241C79 #791C43
split-complementary
#71791C #1C4379 #531C79
monochromatic
#171906 #434710 #71791C #9FAB28 #C5D23D

Accessibility & contrast

On white

4.72
#71791C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#71791C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #71791C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71791C#FFFFFF#000000##FFFFFF
##71791C1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827308
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#797267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #71791c;
/* rgb */ color: rgb(113, 121, 28);
/* oklch */ color: oklch(55.2% 0.113 114.5);
Tailwind
colors: {
  custom: {
    50: '#9d9f60',
    500: '#71791c',
    950: '#000000',
  },
}
SCSS
$custom: #71791c;
$custom-light: #9d9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#71791c",
  "rgb": {
    "r": 113,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 65.161,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.11288,
    "h": 114.5
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#71791C
secondary
#4D44AD
accent
#42E550
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #71791C

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

Preview Lab → · Contrast checker → · Palette generator →

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