#7B6F1E#7B6F1E

#7B6F1E is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.7% C 0.099 H 100.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7B6F1E
RGBrgb(123, 111, 30)
HSLhsl(52, 61%, 30%)
HSVhsv(52, 76%, 48%)
CMYKcmyk(0%, 9.8%, 75.6%, 51.8%)
CIE-LABlab(46.54, -4.98, 44.17)
CIE-LCHlch(46.54, 44.45, 96.43°)
OKLaboklab(53.75% -0.0183 0.0976)
OKLCHoklch(53.75% 0.099 100.6)
XYZxyz(14.0878, 15.6742, 3.5114)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6F1E #1E2A7B
analogous
#7B401E #7B6F1E #597B1E
triadic
#7B6F1E #1E7B6F #6F1E7B
tetradic
#7B6F1E #1E7B40 #1E2A7B #7B1E59
square
#7B6F1E #1E7B40 #1E2A7B #7B1E59
split-complementary
#7B6F1E #1E597B #401E7B
monochromatic
#191606 #4A4312 #7B6F1E #AC9B2A #D1BF42

Accessibility & contrast

On white

5.08
#7B6F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B6F1E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6F1E#FFFFFF#000000##FFFFFF
##7B6F1E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C10
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#85675F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b6f1e;
/* rgb */ color: rgb(123, 111, 30);
/* oklch */ color: oklch(53.7% 0.099 100.6);
Tailwind
colors: {
  custom: {
    50: '#a49860',
    500: '#7b6f1e',
    950: '#000000',
  },
}
SCSS
$custom: #7b6f1e;
$custom-light: #a49860;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6f1e",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 30
  },
  "hsl": {
    "h": 52.258,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.09933,
    "h": 100.6
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#7B6F1E
secondary
#4654AE
accent
#59E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7B6F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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