#7A6C1A#7A6C1A

#7A6C1A is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.9% C 0.099 H 99.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7A6C1A
RGBrgb(122, 108, 26)
HSLhsl(51, 65%, 29%)
HSVhsv(51, 79%, 48%)
CMYKcmyk(0%, 11.5%, 78.7%, 52.2%)
CIE-LABlab(45.55, -3.93, 44.75)
CIE-LCHlch(45.55, 44.93, 95.02°)
OKLaboklab(52.93% -0.0157 0.0981)
OKLCHoklch(52.93% 0.099 99.1)
XYZxyz(13.5757, 14.9380, 3.1453)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6C1A #1A287A
analogous
#7A3C1A #7A6C1A #587A1A
triadic
#7A6C1A #1A7A6C #6C1A7A
tetradic
#7A6C1A #1A7A3C #1A287A #7A1A58
square
#7A6C1A #1A7A3C #1A287A #7A1A58
split-complementary
#7A6C1A #1A587A #3C1A7A
monochromatic
#191605 #483F0F #7A6C1A #AC9925 #D5BE39

Accessibility & contrast

On white

5.27
#7A6C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7A6C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6C1A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6C1A#FFFFFF#000000##FFFFFF
##7A6C1A1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#84635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a6c1a;
/* rgb */ color: rgb(122, 108, 26);
/* oklch */ color: oklch(52.9% 0.099 99.1);
Tailwind
colors: {
  custom: {
    50: '#a4955e',
    500: '#7a6c1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a6c1a;
$custom-light: #a4955e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6c1a",
  "rgb": {
    "r": 122,
    "g": 108,
    "b": 26
  },
  "hsl": {
    "h": 51.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52927,
    "c": 0.09934,
    "h": 99.1
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#7A6C1A
secondary
#4151AE
accent
#58E840
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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