#7A6417#7A6417

#7A6417 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 51.1% C 0.095 H 92.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7A6417
RGBrgb(122, 100, 23)
HSLhsl(47, 68%, 28%)
HSVhsv(47, 81%, 48%)
CMYKcmyk(0%, 18%, 81.1%, 52.2%)
CIE-LABlab(43.23, 0.56, 43.74)
CIE-LCHlch(43.23, 43.74, 89.27°)
OKLaboklab(51.09% -0.0032 0.0953)
OKLCHoklch(51.09% 0.095 92)
XYZxyz(12.7386, 13.3146, 2.7095)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6417 #172D7A
analogous
#7A3217 #7A6417 #5E7A17
triadic
#7A6417 #177A64 #64177A
tetradic
#7A6417 #177A32 #172D7A #7A175E
square
#7A6417 #177A32 #172D7A #7A175E
split-complementary
#7A6417 #175E7A #32177A
monochromatic
#1A1505 #473A0D #7A6417 #AD8E21 #D9B433

Accessibility & contrast

On white

5.73
#7A6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7A6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6417
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6417#FFFFFF#000000##FFFFFF
##7A64171.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706207
Deuteranopia (green-blind)
#75691C
Tritanopia (blue-blind)
#855B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a6417;
/* rgb */ color: rgb(122, 100, 23);
/* oklch */ color: oklch(51.1% 0.095 92.0);
Tailwind
colors: {
  custom: {
    50: '#a48f5b',
    500: '#7a6417',
    950: '#000000',
  },
}
SCSS
$custom: #7a6417;
$custom-light: #a48f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6417",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 46.667,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.09532,
    "h": 92
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#7A6417
secondary
#3E57AF
accent
#63EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6417

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

Preview Lab → · Contrast checker → · Palette generator →

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