#7B6A14#7B6A14

#7B6A14 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.5% C 0.101 H 97.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B6A14
RGBrgb(123, 106, 20)
HSLhsl(50, 72%, 28%)
HSVhsv(50, 84%, 48%)
CMYKcmyk(0%, 13.8%, 83.7%, 51.8%)
CIE-LABlab(45.04, -2.55, 46.45)
CIE-LCHlch(45.04, 46.52, 93.15°)
OKLaboklab(52.54% -0.0124 0.1004)
OKLCHoklch(52.54% 0.101 97.1)
XYZxyz(13.4494, 14.5703, 2.7656)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6A14 #14257B
analogous
#7B3614 #7B6A14 #587B14
triadic
#7B6A14 #147B6A #6A147B
tetradic
#7B6A14 #147B36 #14257B #7B1458
square
#7B6A14 #147B36 #14257B #7B1458
split-complementary
#7B6A14 #14587B #36147B
monochromatic
#1A1704 #463D0B #7B6A14 #B0971D #DDC02D

Accessibility & contrast

On white

5.37
#7B6A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7B6A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6A14
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6A14#FFFFFF#000000##FFFFFF
##7B6A141.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#7A6D1A
Tritanopia (blue-blind)
#85615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b6a14;
/* rgb */ color: rgb(123, 106, 20);
/* oklch */ color: oklch(52.5% 0.101 97.1);
Tailwind
colors: {
  custom: {
    50: '#a5945b',
    500: '#7b6a14',
    950: '#000000',
  },
}
SCSS
$custom: #7b6a14;
$custom-light: #a5945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6a14",
  "rgb": {
    "r": 123,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 50.097,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.10114,
    "h": 97.1
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#7B6A14
secondary
#3A4EB1
accent
#57EF39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6A14

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

Preview Lab → · Contrast checker → · Palette generator →

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