#7B6F16#7B6F16

#7B6F16 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.104 H 101.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B6F16
RGBrgb(123, 111, 22)
HSLhsl(53, 70%, 28%)
HSVhsv(53, 82%, 48%)
CMYKcmyk(0%, 9.8%, 82.1%, 51.8%)
CIE-LABlab(46.50, -5.33, 47.08)
CIE-LCHlch(46.50, 47.38, 96.46°)
OKLaboklab(53.7% -0.0201 0.1022)
OKLCHoklch(53.7% 0.104 101.1)
XYZxyz(13.9983, 15.6384, 3.0401)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6F16 #16227B
analogous
#7B3C16 #7B6F16 #547B16
triadic
#7B6F16 #167B6F #6F167B
tetradic
#7B6F16 #167B3C #16227B #7B1654
square
#7B6F16 #167B3C #16227B #7B1654
split-complementary
#7B6F16 #16547B #3C167B
monochromatic
#1A1705 #47400D #7B6F16 #AF9E1F #DAC631

Accessibility & contrast

On white

5.09
#7B6F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7B6F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6F16
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6F16#FFFFFF#000000##FFFFFF
##7B6F161.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7E701D
Tritanopia (blue-blind)
#85665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b6f16;
/* rgb */ color: rgb(123, 111, 22);
/* oklch */ color: oklch(53.7% 0.104 101.1);
Tailwind
colors: {
  custom: {
    50: '#a5985c',
    500: '#7b6f16',
    950: '#000000',
  },
}
SCSS
$custom: #7b6f16;
$custom-light: #a5985c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6f16",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 52.871,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.10412,
    "h": 101.1
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#7B6F16
secondary
#3D4AB0
accent
#50EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6F16

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

Preview Lab → · Contrast checker → · Palette generator →

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