#71791A#71791A

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

Color values

HEX#71791A
RGBrgb(113, 121, 26)
HSLhsl(65, 65%, 29%)
HSVhsv(65, 79%, 47%)
CMYKcmyk(6.6%, 0%, 78.5%, 52.5%)
CIE-LABlab(48.59, -15.38, 47.28)
CIE-LCHlch(48.59, 49.72, 108.01°)
OKLaboklab(55.15% -0.0472 0.1038)
OKLCHoklch(55.15% 0.114 114.4)
XYZxyz(13.8343, 17.2603, 3.5799)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71791A #221A79
analogous
#79521A #71791A #42791A
triadic
#71791A #1A7179 #791A71
tetradic
#71791A #1A7952 #221A79 #791A42
square
#71791A #1A7952 #221A79 #791A42
split-complementary
#71791A #1A4279 #521A79
monochromatic
#181905 #42470F #71791A #A0AB25 #C7D439

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71791A#FFFFFF#000000##FFFFFF
##71791A1.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)
#827303
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#797167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #71791a;
/* rgb */ color: rgb(113, 121, 26);
/* oklch */ color: oklch(55.2% 0.114 114.4);
Tailwind
colors: {
  custom: {
    50: '#9d9f5f',
    500: '#71791a',
    950: '#000000',
  },
}
SCSS
$custom: #71791a;
$custom-light: #9d9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#71791a",
  "rgb": {
    "r": 113,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 65.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.11406,
    "h": 114.4
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#71791A
secondary
#4A41AD
accent
#40E84E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #71791A

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

Preview Lab → · Contrast checker → · Palette generator →

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