#7B711B#7B711B

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

Color values

HEX#7B711B
RGBrgb(123, 113, 27)
HSLhsl(54, 64%, 29%)
HSVhsv(54, 78%, 48%)
CMYKcmyk(0%, 8.1%, 78%, 51.8%)
CIE-LABlab(47.11, -6.25, 45.87)
CIE-LCHlch(47.11, 46.29, 97.76°)
OKLaboklab(54.19% -0.0222 0.1006)
OKLCHoklch(54.19% 0.103 102.4)
XYZxyz(14.2720, 16.1010, 3.3927)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B711B #1B257B
analogous
#7B411B #7B711B #557B1B
triadic
#7B711B #1B7B71 #711B7B
tetradic
#7B711B #1B7B41 #1B257B #7B1B55
square
#7B711B #1B7B41 #1B257B #7B1B55
split-complementary
#7B711B #1B557B #411B7B
monochromatic
#191706 #494310 #7B711B #AD9F26 #D4C43C

Accessibility & contrast

On white

4.98
#7B711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B711B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B711B#FFFFFF#000000##FFFFFF
##7B711B1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D09
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#856861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b711b;
/* rgb */ color: rgb(123, 113, 27);
/* oklch */ color: oklch(54.2% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#a4995f',
    500: '#7b711b',
    950: '#000000',
  },
}
SCSS
$custom: #7b711b;
$custom-light: #a4995f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b711b",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 53.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.10305,
    "h": 102.4
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#7B711B
secondary
#434EAF
accent
#52E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B711B

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

Preview Lab → · Contrast checker → · Palette generator →

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