#7B661B#7B661B

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

Color values

HEX#7B661B
RGBrgb(123, 102, 27)
HSLhsl(47, 64%, 29%)
HSVhsv(47, 78%, 48%)
CMYKcmyk(0%, 17.1%, 78%, 51.8%)
CIE-LABlab(43.94, 0.05, 42.88)
CIE-LCHlch(43.94, 42.88, 89.93°)
OKLaboklab(51.68% -0.0043 0.0943)
OKLCHoklch(51.68% 0.094 92.6)
XYZxyz(13.1183, 13.7936, 3.0082)
Luminance0.1379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B661B #1B307B
analogous
#7B361B #7B661B #607B1B
triadic
#7B661B #1B7B66 #661B7B
tetradic
#7B661B #1B7B36 #1B307B #7B1B60
square
#7B661B #1B7B36 #1B307B #7B1B60
split-complementary
#7B661B #1B607B #361B7B
monochromatic
#191506 #493C10 #7B661B #AD9026 #D4B33C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7b661b;
/* rgb */ color: rgb(123, 102, 27);
/* oklch */ color: oklch(51.7% 0.094 92.6);
Tailwind
colors: {
  custom: {
    50: '#a5915d',
    500: '#7b661b',
    950: '#000000',
  },
}
SCSS
$custom: #7b661b;
$custom-light: #a5915d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b661b",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 46.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51677,
    "c": 0.09436,
    "h": 92.6
  },
  "luminance": 0.13793
}

Semantic roles & 50–950 ramp

primary
#7B661B
secondary
#435AAF
accent
#65E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B661B

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

Preview Lab → · Contrast checker → · Palette generator →

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