#7B671B#7B671B

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

Color values

HEX#7B671B
RGBrgb(123, 103, 27)
HSLhsl(48, 64%, 29%)
HSVhsv(48, 78%, 48%)
CMYKcmyk(0%, 16.3%, 78%, 51.8%)
CIE-LABlab(44.22, -0.53, 43.15)
CIE-LCHlch(44.22, 43.15, 90.70°)
OKLaboklab(51.9% -0.006 0.0948)
OKLCHoklch(51.9% 0.095 93.6)
XYZxyz(13.2172, 13.9913, 3.0411)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B671B #1B2F7B
analogous
#7B371B #7B671B #5F7B1B
triadic
#7B671B #1B7B67 #671B7B
tetradic
#7B671B #1B7B37 #1B2F7B #7B1B5F
square
#7B671B #1B7B37 #1B2F7B #7B1B5F
split-complementary
#7B671B #1B5F7B #371B7B
monochromatic
#191506 #493D10 #7B671B #AD9126 #D4B53C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B671B#FFFFFF#000000##FFFFFF
##7B671B1.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)
#73650E
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#855E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b671b;
/* rgb */ color: rgb(123, 103, 27);
/* oklch */ color: oklch(51.9% 0.095 93.6);
Tailwind
colors: {
  custom: {
    50: '#a5925d',
    500: '#7b671b',
    950: '#000000',
  },
}
SCSS
$custom: #7b671b;
$custom-light: #a5925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b671b",
  "rgb": {
    "r": 123,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 47.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.09503,
    "h": 93.6
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

primary
#7B671B
secondary
#4359AF
accent
#63E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B671B

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

Preview Lab → · Contrast checker → · Palette generator →

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