#7A6F1C#7A6F1C

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

Color values

HEX#7A6F1C
RGBrgb(122, 111, 28)
HSLhsl(53, 63%, 29%)
HSVhsv(53, 77%, 48%)
CMYKcmyk(0%, 9%, 77%, 52.2%)
CIE-LABlab(46.43, -5.55, 44.82)
CIE-LCHlch(46.43, 45.16, 97.06°)
OKLaboklab(53.63% -0.02 0.0987)
OKLCHoklch(53.63% 0.101 101.5)
XYZxyz(13.9207, 15.5909, 3.3745)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6F1C #1C277A
analogous
#7A401C #7A6F1C #567A1C
triadic
#7A6F1C #1C7A6F #6F1C7A
tetradic
#7A6F1C #1C7A40 #1C277A #7A1C56
square
#7A6F1C #1C7A40 #1C277A #7A1C56
split-complementary
#7A6F1C #1C567A #401C7A
monochromatic
#191706 #484211 #7A6F1C #AC9C27 #D3C13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A6F1C#FFFFFF#000000##FFFFFF
##7A6F1C1.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)
#7A6B0C
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#84675F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6f1c;
/* rgb */ color: rgb(122, 111, 28);
/* oklch */ color: oklch(53.6% 0.101 101.5);
Tailwind
colors: {
  custom: {
    50: '#a4985f',
    500: '#7a6f1c',
    950: '#000000',
  },
}
SCSS
$custom: #7a6f1c;
$custom-light: #a4985f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6f1c",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 52.979,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.10066,
    "h": 101.5
  },
  "luminance": 0.1559
}

Semantic roles & 50–950 ramp

primary
#7A6F1C
secondary
#4450AE
accent
#55E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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