#7B671A#7B671A

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

Color values

HEX#7B671A
RGBrgb(123, 103, 26)
HSLhsl(48, 65%, 29%)
HSVhsv(48, 79%, 48%)
CMYKcmyk(0%, 16.3%, 78.9%, 51.8%)
CIE-LABlab(44.21, -0.58, 43.54)
CIE-LCHlch(44.21, 43.54, 90.76°)
OKLaboklab(51.9% -0.0062 0.0954)
OKLCHoklch(51.9% 0.096 93.7)
XYZxyz(13.2058, 13.9868, 2.9812)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B671A #1A2E7B
analogous
#7B371A #7B671A #5F7B1A
triadic
#7B671A #1A7B67 #671A7B
tetradic
#7B671A #1A7B37 #1A2E7B #7B1A5F
square
#7B671A #1A7B37 #1A2E7B #7B1A5F
split-complementary
#7B671A #1A5F7B #371A7B
monochromatic
#191505 #483D0F #7B671A #AE9125 #D5B53A

Accessibility & contrast

On white

5.53
#7B671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7B671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B671A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B671A#FFFFFF#000000##FFFFFF
##7B671A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#855E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b671a;
/* rgb */ color: rgb(123, 103, 26);
/* oklch */ color: oklch(51.9% 0.096 93.7);
Tailwind
colors: {
  custom: {
    50: '#a5925d',
    500: '#7b671a',
    950: '#000000',
  },
}
SCSS
$custom: #7b671a;
$custom-light: #a5925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b671a",
  "rgb": {
    "r": 123,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 47.629,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.09565,
    "h": 93.7
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#7B671A
secondary
#4258AF
accent
#62E840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B671A

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

Preview Lab → · Contrast checker → · Palette generator →

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