#7B711D#7B711D

#7B711D is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.102 H 102.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7B711D
RGBrgb(123, 113, 29)
HSLhsl(54, 62%, 30%)
HSVhsv(54, 76%, 48%)
CMYKcmyk(0%, 8.1%, 76.4%, 51.8%)
CIE-LABlab(47.12, -6.16, 45.12)
CIE-LCHlch(47.12, 45.54, 97.77°)
OKLaboklab(54.2% -0.0217 0.0995)
OKLCHoklch(54.2% 0.102 102.3)
XYZxyz(14.2959, 16.1105, 3.5188)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B711D #1D277B
analogous
#7B421D #7B711D #567B1D
triadic
#7B711D #1D7B71 #711D7B
tetradic
#7B711D #1D7B42 #1D277B #7B1D56
square
#7B711D #1D7B42 #1D277B #7B1D56
split-complementary
#7B711D #1D567B #421D7B
monochromatic
#191706 #494411 #7B711D #AD9E29 #D2C340

Accessibility & contrast

On white

4.97
#7B711D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7B711D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B711D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B711D#FFFFFF#000000##FFFFFF
##7B711D1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#856961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b711d;
/* rgb */ color: rgb(123, 113, 29);
/* oklch */ color: oklch(54.2% 0.102 102.3);
Tailwind
colors: {
  custom: {
    50: '#a49960',
    500: '#7b711d',
    950: '#000000',
  },
}
SCSS
$custom: #7b711d;
$custom-light: #a49960;
$custom-dark: #000000;
JSON
{
  "hex": "#7b711d",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 29
  },
  "hsl": {
    "h": 53.617,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.10179,
    "h": 102.3
  },
  "luminance": 0.1611
}

Semantic roles & 50–950 ramp

primary
#7B711D
secondary
#4550AF
accent
#54E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B711D

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

Preview Lab → · Contrast checker → · Palette generator →

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