#7B661A#7B661A

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

Color values

HEX#7B661A
RGBrgb(123, 102, 26)
HSLhsl(47, 65%, 29%)
HSVhsv(47, 79%, 48%)
CMYKcmyk(0%, 17.1%, 78.9%, 51.8%)
CIE-LABlab(43.93, 0.01, 43.27)
CIE-LCHlch(43.93, 43.27, 89.99°)
OKLaboklab(51.67% -0.0046 0.0949)
OKLCHoklch(51.67% 0.095 92.8)
XYZxyz(13.1069, 13.7891, 2.9483)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B661A #1A2F7B
analogous
#7B351A #7B661A #607B1A
triadic
#7B661A #1A7B66 #661A7B
tetradic
#7B661A #1A7B35 #1A2F7B #7B1A60
square
#7B661A #1A7B35 #1A2F7B #7B1A60
split-complementary
#7B661A #1A607B #351A7B
monochromatic
#191505 #483C0F #7B661A #AE9025 #D5B43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B661A#FFFFFF#000000##FFFFFF
##7B661A1.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)
#72640C
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#865D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b661a;
/* rgb */ color: rgb(123, 102, 26);
/* oklch */ color: oklch(51.7% 0.095 92.8);
Tailwind
colors: {
  custom: {
    50: '#a5915d',
    500: '#7b661a',
    950: '#000000',
  },
}
SCSS
$custom: #7b661a;
$custom-light: #a5915d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b661a",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 47.01,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.09499,
    "h": 92.8
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#7B661A
secondary
#4259AF
accent
#64E840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B661A

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

Preview Lab → · Contrast checker → · Palette generator →

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