#7B661D#7B661D

#7B661D is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.7% C 0.093 H 92.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7B661D
RGBrgb(123, 102, 29)
HSLhsl(47, 62%, 30%)
HSVhsv(47, 76%, 48%)
CMYKcmyk(0%, 17.1%, 76.4%, 51.8%)
CIE-LABlab(43.95, 0.15, 42.07)
CIE-LCHlch(43.95, 42.07, 89.80°)
OKLaboklab(51.69% -0.0038 0.093)
OKLCHoklch(51.69% 0.093 92.3)
XYZxyz(13.1422, 13.8032, 3.1342)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B661D #1D327B
analogous
#7B371D #7B661D #617B1D
triadic
#7B661D #1D7B66 #661D7B
tetradic
#7B661D #1D7B37 #1D327B #7B1D61
square
#7B661D #1D7B37 #1D327B #7B1D61
split-complementary
#7B661D #1D617B #371D7B
monochromatic
#191506 #493D11 #7B661D #AD8F29 #D2B240

Accessibility & contrast

On white

5.58
#7B661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7B661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B661D
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B661D#FFFFFF#000000##FFFFFF
##7B661D1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726411
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#855D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b661d;
/* rgb */ color: rgb(123, 102, 29);
/* oklch */ color: oklch(51.7% 0.093 92.3);
Tailwind
colors: {
  custom: {
    50: '#a5915e',
    500: '#7b661d',
    950: '#000000',
  },
}
SCSS
$custom: #7b661d;
$custom-light: #a5915e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b661d",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 46.596,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.09305,
    "h": 92.3
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#7B661D
secondary
#455DAF
accent
#67E543
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7B661D

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

Preview Lab → · Contrast checker → · Palette generator →

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