#7B6F14#7B6F14

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

Color values

HEX#7B6F14
RGBrgb(123, 111, 20)
HSLhsl(53, 72%, 28%)
HSVhsv(53, 84%, 48%)
CMYKcmyk(0%, 9.8%, 83.7%, 51.8%)
CIE-LABlab(46.49, -5.41, 47.72)
CIE-LCHlch(46.49, 48.02, 96.47°)
OKLaboklab(53.68% -0.0205 0.1031)
OKLCHoklch(53.68% 0.105 101.2)
XYZxyz(13.9798, 15.6310, 2.9424)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6F14 #14207B
analogous
#7B3C14 #7B6F14 #537B14
triadic
#7B6F14 #147B6F #6F147B
tetradic
#7B6F14 #147B3C #14207B #7B1453
square
#7B6F14 #147B3C #14207B #7B1453
split-complementary
#7B6F14 #14537B #3C147B
monochromatic
#1A1804 #463F0B #7B6F14 #B09F1D #DDC82D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B6F14#FFFFFF#000000##FFFFFF
##7B6F141.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)
#7E701B
Tritanopia (blue-blind)
#85665E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b6f14;
/* rgb */ color: rgb(123, 111, 20);
/* oklch */ color: oklch(53.7% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#a5985b',
    500: '#7b6f14',
    950: '#000000',
  },
}
SCSS
$custom: #7b6f14;
$custom-light: #a5985b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6f14",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 53.01,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.10512,
    "h": 101.2
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#7B6F14
secondary
#3A48B1
accent
#4EEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6F14

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

Preview Lab → · Contrast checker → · Palette generator →

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