#7B6E16#7B6E16

#7B6E16 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.103 H 100.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7B6E16
RGBrgb(123, 110, 22)
HSLhsl(52, 70%, 28%)
HSVhsv(52, 82%, 48%)
CMYKcmyk(0%, 10.6%, 82.1%, 51.8%)
CIE-LABlab(46.21, -4.77, 46.82)
CIE-LCHlch(46.21, 47.06, 95.81°)
OKLaboklab(53.47% -0.0185 0.1016)
OKLCHoklch(53.47% 0.103 100.3)
XYZxyz(13.8898, 15.4214, 3.0039)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6E16 #16237B
analogous
#7B3B16 #7B6E16 #557B16
triadic
#7B6E16 #167B6E #6E167B
tetradic
#7B6E16 #167B3B #16237B #7B1655
square
#7B6E16 #167B3B #16237B #7B1655
split-complementary
#7B6E16 #16557B #3B167B
monochromatic
#1A1705 #47400D #7B6E16 #AF9C1F #DAC431

Accessibility & contrast

On white

5.14
#7B6E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7B6E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6E16
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6E16#FFFFFF#000000##FFFFFF
##7B6E161.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B01
Deuteranopia (green-blind)
#7D701D
Tritanopia (blue-blind)
#85655E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b6e16;
/* rgb */ color: rgb(123, 110, 22);
/* oklch */ color: oklch(53.5% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#a5975c',
    500: '#7b6e16',
    950: '#000000',
  },
}
SCSS
$custom: #7b6e16;
$custom-light: #a5975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6e16",
  "rgb": {
    "r": 123,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 52.277,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.10327,
    "h": 100.3
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#7B6E16
secondary
#3D4CB0
accent
#52EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6E16

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

Preview Lab → · Contrast checker → · Palette generator →

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