#7B6E1A#7B6E1A

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

Color values

HEX#7B6E1A
RGBrgb(123, 110, 26)
HSLhsl(52, 65%, 29%)
HSVhsv(52, 79%, 48%)
CMYKcmyk(0%, 10.6%, 78.9%, 51.8%)
CIE-LABlab(46.23, -4.60, 45.42)
CIE-LCHlch(46.23, 45.65, 95.78°)
OKLaboklab(53.49% -0.0176 0.0995)
OKLCHoklch(53.49% 0.101 100.1)
XYZxyz(13.9314, 15.4381, 3.2231)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6E1A #1A277B
analogous
#7B3E1A #7B6E1A #587B1A
triadic
#7B6E1A #1A7B6E #6E1A7B
tetradic
#7B6E1A #1A7B3E #1A277B #7B1A58
square
#7B6E1A #1A7B3E #1A277B #7B1A58
split-complementary
#7B6E1A #1A587B #3E1A7B
monochromatic
#191705 #48410F #7B6E1A #AE9B25 #D5C13A

Accessibility & contrast

On white

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

On black

4.09
#7B6E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B6E1A#FFFFFF#000000##FFFFFF
##7B6E1A1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b6e1a;
/* rgb */ color: rgb(123, 110, 26);
/* oklch */ color: oklch(53.5% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#a5975e',
    500: '#7b6e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7b6e1a;
$custom-light: #a5975e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6e1a",
  "rgb": {
    "r": 123,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 51.959,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.10102,
    "h": 100.1
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#7B6E1A
secondary
#4250AF
accent
#56E840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B6E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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