#7A661B#7A661B

#7A661B is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.6% C 0.094 H 93.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7A661B
RGBrgb(122, 102, 27)
HSLhsl(47, 64%, 29%)
HSVhsv(47, 78%, 48%)
CMYKcmyk(0%, 16.4%, 77.9%, 52.2%)
CIE-LABlab(43.83, -0.43, 42.74)
CIE-LCHlch(43.83, 42.74, 90.57°)
OKLaboklab(51.57% -0.0056 0.094)
OKLCHoklch(51.57% 0.094 93.4)
XYZxyz(12.9760, 13.7202, 3.0015)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A661B #1B2F7A
analogous
#7A371B #7A661B #5F7A1B
triadic
#7A661B #1B7A66 #661B7A
tetradic
#7A661B #1B7A37 #1B2F7A #7A1B5F
square
#7A661B #1B7A37 #1B2F7A #7A1B5F
split-complementary
#7A661B #1B5F7A #371B7A
monochromatic
#191506 #483C10 #7A661B #AC9026 #D4B43C

Accessibility & contrast

On white

5.61
#7A661B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7A661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A661B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A661B#FFFFFF#000000##FFFFFF
##7A661B1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640E
Deuteranopia (green-blind)
#776A1F
Tritanopia (blue-blind)
#845D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a661b;
/* rgb */ color: rgb(122, 102, 27);
/* oklch */ color: oklch(51.6% 0.094 93.4);
Tailwind
colors: {
  custom: {
    50: '#a4915d',
    500: '#7a661b',
    950: '#000000',
  },
}
SCSS
$custom: #7a661b;
$custom-light: #a4915d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a661b",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 47.368,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.09418,
    "h": 93.4
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#7A661B
secondary
#4359AE
accent
#64E741
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A661B

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

Preview Lab → · Contrast checker → · Palette generator →

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