#7A6E16#7A6E16

#7A6E16 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.103 H 101.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7A6E16
RGBrgb(122, 110, 22)
HSLhsl(53, 69%, 28%)
HSVhsv(53, 82%, 48%)
CMYKcmyk(0%, 9.8%, 82%, 52.2%)
CIE-LABlab(46.11, -5.24, 46.69)
CIE-LCHlch(46.11, 46.99, 96.41°)
OKLaboklab(53.36% -0.0198 0.1014)
OKLCHoklch(53.36% 0.103 101)
XYZxyz(13.7475, 15.3480, 2.9972)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6E16 #16227A
analogous
#7A3C16 #7A6E16 #547A16
triadic
#7A6E16 #167A6E #6E167A
tetradic
#7A6E16 #167A3C #16227A #7A1654
square
#7A6E16 #167A3C #16227A #7A1654
split-complementary
#7A6E16 #16547A #3C167A
monochromatic
#1A1705 #463F0D #7A6E16 #AE9D1F #DAC531

Accessibility & contrast

On white

5.16
#7A6E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7A6E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6E16
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6E16#FFFFFF#000000##FFFFFF
##7A6E161.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B01
Deuteranopia (green-blind)
#7D6F1D
Tritanopia (blue-blind)
#84655E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a6e16;
/* rgb */ color: rgb(122, 110, 22);
/* oklch */ color: oklch(53.4% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#a4975c',
    500: '#7a6e16',
    950: '#000000',
  },
}
SCSS
$custom: #7a6e16;
$custom-light: #a4975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6e16",
  "rgb": {
    "r": 122,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 52.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.10329,
    "h": 101
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#7A6E16
secondary
#3D4AAF
accent
#51EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6E16

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

Preview Lab → · Contrast checker → · Palette generator →

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