#7A6F1A#7A6F1A

#7A6F1A is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.6% C 0.102 H 101.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7A6F1A
RGBrgb(122, 111, 26)
HSLhsl(53, 65%, 29%)
HSVhsv(53, 79%, 48%)
CMYKcmyk(0%, 9%, 78.7%, 52.2%)
CIE-LABlab(46.42, -5.64, 45.57)
CIE-LCHlch(46.42, 45.91, 97.06°)
OKLaboklab(53.62% -0.0205 0.0998)
OKLCHoklch(53.62% 0.102 101.6)
XYZxyz(13.8976, 15.5817, 3.2526)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6F1A #1A257A
analogous
#7A3F1A #7A6F1A #557A1A
triadic
#7A6F1A #1A7A6F #6F1A7A
tetradic
#7A6F1A #1A7A3F #1A257A #7A1A55
square
#7A6F1A #1A7A3F #1A257A #7A1A55
split-complementary
#7A6F1A #1A557A #3F1A7A
monochromatic
#191705 #48410F #7A6F1A #AC9D25 #D5C339

Accessibility & contrast

On white

5.10
#7A6F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7A6F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6F1A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6F1A#FFFFFF#000000##FFFFFF
##7A6F1A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B08
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#84665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6f1a;
/* rgb */ color: rgb(122, 111, 26);
/* oklch */ color: oklch(53.6% 0.102 101.6);
Tailwind
colors: {
  custom: {
    50: '#a4985e',
    500: '#7a6f1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a6f1a;
$custom-light: #a4985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6f1a",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 53.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53619,
    "c": 0.10191,
    "h": 101.6
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

primary
#7A6F1A
secondary
#414EAE
accent
#53E840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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