#7A661A#7A661A

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

Color values

HEX#7A661A
RGBrgb(122, 102, 26)
HSLhsl(48, 65%, 29%)
HSVhsv(48, 79%, 48%)
CMYKcmyk(0%, 16.4%, 78.7%, 52.2%)
CIE-LABlab(43.82, -0.47, 43.13)
CIE-LCHlch(43.82, 43.13, 90.63°)
OKLaboklab(51.56% -0.0059 0.0946)
OKLCHoklch(51.56% 0.095 93.5)
XYZxyz(12.9646, 13.7157, 2.9416)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A661A #1A2E7A
analogous
#7A361A #7A661A #5E7A1A
triadic
#7A661A #1A7A66 #661A7A
tetradic
#7A661A #1A7A36 #1A2E7A #7A1A5E
square
#7A661A #1A7A36 #1A2E7A #7A1A5E
split-complementary
#7A661A #1A5E7A #361A7A
monochromatic
#191505 #483C0F #7A661A #AC9025 #D5B539

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7a661a;
/* rgb */ color: rgb(122, 102, 26);
/* oklch */ color: oklch(51.6% 0.095 93.5);
Tailwind
colors: {
  custom: {
    50: '#a4915d',
    500: '#7a661a',
    950: '#000000',
  },
}
SCSS
$custom: #7a661a;
$custom-light: #a4915d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a661a",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 47.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.09481,
    "h": 93.5
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#7A661A
secondary
#4158AE
accent
#63E840
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A661A

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

Preview Lab → · Contrast checker → · Palette generator →

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