#7B661C#7B661C

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

Color values

HEX#7B661C
RGBrgb(123, 102, 28)
HSLhsl(47, 63%, 30%)
HSVhsv(47, 77%, 48%)
CMYKcmyk(0%, 17.1%, 77.2%, 51.8%)
CIE-LABlab(43.94, 0.10, 42.48)
CIE-LCHlch(43.94, 42.48, 89.87°)
OKLaboklab(51.68% -0.0041 0.0936)
OKLCHoklch(51.68% 0.094 92.5)
XYZxyz(13.1301, 13.7983, 3.0701)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B661C #1C317B
analogous
#7B371C #7B661C #617B1C
triadic
#7B661C #1C7B66 #661C7B
tetradic
#7B661C #1C7B37 #1C317B #7B1C61
square
#7B661C #1C7B37 #1C317B #7B1C61
split-complementary
#7B661C #1C617B #371C7B
monochromatic
#191506 #493D11 #7B661C #AD8F27 #D3B23E

Accessibility & contrast

On white

5.59
#7B661C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B661C
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B661C#FFFFFF#000000##FFFFFF
##7B661C1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726410
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#855D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b661c;
/* rgb */ color: rgb(123, 102, 28);
/* oklch */ color: oklch(51.7% 0.094 92.5);
Tailwind
colors: {
  custom: {
    50: '#a5915e',
    500: '#7b661c',
    950: '#000000',
  },
}
SCSS
$custom: #7b661c;
$custom-light: #a5915e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b661c",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 46.737,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51684,
    "c": 0.09371,
    "h": 92.5
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#7B661C
secondary
#445CAF
accent
#66E642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7B661C

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

Preview Lab → · Contrast checker → · Palette generator →

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