#7B661E#7B661E

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

Color values

HEX#7B661E
RGBrgb(123, 102, 30)
HSLhsl(46, 61%, 30%)
HSVhsv(46, 76%, 48%)
CMYKcmyk(0%, 17.1%, 75.6%, 51.8%)
CIE-LABlab(43.96, 0.20, 41.65)
CIE-LCHlch(43.96, 41.65, 89.72°)
OKLaboklab(51.7% -0.0035 0.0923)
OKLCHoklch(51.7% 0.092 92.2)
XYZxyz(13.1548, 13.8082, 3.2004)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B661E #1E337B
analogous
#7B381E #7B661E #617B1E
triadic
#7B661E #1E7B66 #661E7B
tetradic
#7B661E #1E7B38 #1E337B #7B1E61
square
#7B661E #1E7B38 #1E337B #7B1E61
split-complementary
#7B661E #1E617B #381E7B
monochromatic
#191406 #4A3D12 #7B661E #AC8F2A #D1B142

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B661E#FFFFFF#000000##FFFFFF
##7B661E1.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)
#726413
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#855D58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b661e;
/* rgb */ color: rgb(123, 102, 30);
/* oklch */ color: oklch(51.7% 0.092 92.2);
Tailwind
colors: {
  custom: {
    50: '#a5915f',
    500: '#7b661e',
    950: '#000000',
  },
}
SCSS
$custom: #7b661e;
$custom-light: #a5915f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b661e",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 46.452,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.517,
    "c": 0.09237,
    "h": 92.2
  },
  "luminance": 0.13807
}

Semantic roles & 50–950 ramp

primary
#7B661E
secondary
#465EAE
accent
#68E444
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7B661E

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

Preview Lab → · Contrast checker → · Palette generator →

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