#7B641B#7B641B

#7B641B is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.2% C 0.093 H 90.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7B641B
RGBrgb(123, 100, 27)
HSLhsl(46, 64%, 29%)
HSVhsv(46, 78%, 48%)
CMYKcmyk(0%, 18.7%, 78%, 51.8%)
CIE-LABlab(43.37, 1.22, 42.33)
CIE-LCHlch(43.37, 42.35, 88.35°)
OKLaboklab(51.23% -0.001 0.0931)
OKLCHoklch(51.23% 0.093 90.6)
XYZxyz(12.9241, 13.4052, 2.9434)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B641B #1B327B
analogous
#7B341B #7B641B #627B1B
triadic
#7B641B #1B7B64 #641B7B
tetradic
#7B641B #1B7B34 #1B327B #7B1B62
square
#7B641B #1B7B34 #1B327B #7B1B62
split-complementary
#7B641B #1B627B #341B7B
monochromatic
#191406 #493B10 #7B641B #AD8D26 #D4B03C

Accessibility & contrast

On white

5.71
#7B641B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7B641B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B641B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B641B#FFFFFF#000000##FFFFFF
##7B641B1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630F
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#865B56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b641b;
/* rgb */ color: rgb(123, 100, 27);
/* oklch */ color: oklch(51.2% 0.093 90.6);
Tailwind
colors: {
  custom: {
    50: '#a58f5d',
    500: '#7b641b',
    950: '#000000',
  },
}
SCSS
$custom: #7b641b;
$custom-light: #a58f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b641b",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 45.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.09311,
    "h": 90.6
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#7B641B
secondary
#435DAF
accent
#69E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B641B

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

Preview Lab → · Contrast checker → · Palette generator →

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