#71791B#71791B

#71791B 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#71791B
RGBrgb(113, 121, 27)
HSLhsl(65, 64%, 29%)
HSVhsv(65, 78%, 47%)
CMYKcmyk(6.6%, 0%, 77.7%, 52.5%)
CIE-LABlab(48.59, -15.33, 46.94)
CIE-LCHlch(48.59, 49.38, 108.09°)
OKLaboklab(55.16% -0.047 0.1033)
OKLCHoklch(55.16% 0.113 114.5)
XYZxyz(13.8457, 17.2648, 3.6398)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71791B #231B79
analogous
#79521B #71791B #42791B
triadic
#71791B #1B7179 #791B71
tetradic
#71791B #1B7952 #231B79 #791B42
square
#71791B #1B7952 #231B79 #791B42
split-complementary
#71791B #1B4279 #521B79
monochromatic
#171906 #424710 #71791B #A0AB26 #C6D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71791B#FFFFFF#000000##FFFFFF
##71791B1.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)
#827306
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#797167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #71791b;
/* rgb */ color: rgb(113, 121, 27);
/* oklch */ color: oklch(55.2% 0.113 114.5);
Tailwind
colors: {
  custom: {
    50: '#9d9f60',
    500: '#71791b',
    950: '#000000',
  },
}
SCSS
$custom: #71791b;
$custom-light: #9d9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#71791b",
  "rgb": {
    "r": 113,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 65.106,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.11348,
    "h": 114.5
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#71791B
secondary
#4C43AD
accent
#41E74F
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #71791B

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

Preview Lab → · Contrast checker → · Palette generator →

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