#7B6714#7B6714

#7B6714 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.099 H 94.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7B6714
RGBrgb(123, 103, 20)
HSLhsl(48, 72%, 28%)
HSVhsv(48, 84%, 48%)
CMYKcmyk(0%, 16.3%, 83.7%, 51.8%)
CIE-LABlab(44.18, -0.82, 45.69)
CIE-LCHlch(44.18, 45.70, 91.03°)
OKLaboklab(51.86% -0.0075 0.0987)
OKLCHoklch(51.86% 0.099 94.4)
XYZxyz(13.1456, 13.9627, 2.6644)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6714 #14287B
analogous
#7B3414 #7B6714 #5B7B14
triadic
#7B6714 #147B67 #67147B
tetradic
#7B6714 #147B34 #14287B #7B145B
square
#7B6714 #147B34 #14287B #7B145B
split-complementary
#7B6714 #145B7B #34147B
monochromatic
#1A1604 #463B0B #7B6714 #B0931D #DDBB2D

Accessibility & contrast

On white

5.54
#7B6714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7B6714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6714
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6714#FFFFFF#000000##FFFFFF
##7B67141.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#786B1A
Tritanopia (blue-blind)
#865E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b6714;
/* rgb */ color: rgb(123, 103, 20);
/* oklch */ color: oklch(51.9% 0.099 94.4);
Tailwind
colors: {
  custom: {
    50: '#a5925a',
    500: '#7b6714',
    950: '#000000',
  },
}
SCSS
$custom: #7b6714;
$custom-light: #a5925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6714",
  "rgb": {
    "r": 123,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 48.35,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.09903,
    "h": 94.4
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#7B6714
secondary
#3A51B1
accent
#5CEF39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6714

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

Preview Lab → · Contrast checker → · Palette generator →

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