#7F711D#7F711D

#7F711D is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.102 H 99.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7F711D
RGBrgb(127, 113, 29)
HSLhsl(51, 63%, 31%)
HSVhsv(51, 77%, 50%)
CMYKcmyk(0%, 11%, 77.2%, 50.2%)
CIE-LABlab(47.51, -4.27, 45.63)
CIE-LCHlch(47.51, 45.83, 95.35°)
OKLaboklab(54.61% -0.0166 0.1004)
OKLCHoklch(54.61% 0.102 99.4)
XYZxyz(14.8800, 16.4117, 3.5462)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F711D #1D2B7F
analogous
#7F401D #7F711D #5C7F1D
triadic
#7F711D #1D7F71 #711D7F
tetradic
#7F711D #1D7F40 #1D2B7F #7F1D5C
square
#7F711D #1D7F40 #1D2B7F #7F1D5C
split-complementary
#7F711D #1D5C7F #401D7F
monochromatic
#1B1806 #4D4512 #7F711D #B19D28 #D4BF42

Accessibility & contrast

On white

4.90
#7F711D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7F711D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F711D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F711D#FFFFFF#000000##FFFFFF
##7F711D1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0D
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#896861
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f711d;
/* rgb */ color: rgb(127, 113, 29);
/* oklch */ color: oklch(54.6% 0.102 99.4);
Tailwind
colors: {
  custom: {
    50: '#a79960',
    500: '#7f711d',
    950: '#000000',
  },
}
SCSS
$custom: #7f711d;
$custom-light: #a79960;
$custom-dark: #000000;
JSON
{
  "hex": "#7f711d",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 29
  },
  "hsl": {
    "h": 51.429,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54606,
    "c": 0.10173,
    "h": 99.4
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#7F711D
secondary
#4555B2
accent
#59E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F711D

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

Preview Lab → · Contrast checker → · Palette generator →

#7F711D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva