#7A6717#7A6717

#7A6717 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.097 H 94.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7A6717
RGBrgb(122, 103, 23)
HSLhsl(48, 68%, 28%)
HSVhsv(48, 81%, 48%)
CMYKcmyk(0%, 15.6%, 81.1%, 52.2%)
CIE-LABlab(44.09, -1.18, 44.52)
CIE-LCHlch(44.09, 44.54, 91.52°)
OKLaboklab(51.77% -0.0082 0.0969)
OKLCHoklch(51.77% 0.097 94.8)
XYZxyz(13.0317, 13.9007, 2.8071)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6717 #172A7A
analogous
#7A3517 #7A6717 #5B7A17
triadic
#7A6717 #177A67 #67177A
tetradic
#7A6717 #177A35 #172A7A #7A175B
square
#7A6717 #177A35 #172A7A #7A175B
split-complementary
#7A6717 #175B7A #35177A
monochromatic
#1A1605 #473C0D #7A6717 #AD9221 #D9B933

Accessibility & contrast

On white

5.56
#7A6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7A6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6717
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6717#FFFFFF#000000##FFFFFF
##7A67171.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#845E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a6717;
/* rgb */ color: rgb(122, 103, 23);
/* oklch */ color: oklch(51.8% 0.097 94.8);
Tailwind
colors: {
  custom: {
    50: '#a4925b',
    500: '#7a6717',
    950: '#000000',
  },
}
SCSS
$custom: #7a6717;
$custom-light: #a4925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6717",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 48.485,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.09729,
    "h": 94.8
  },
  "luminance": 0.139
}

Semantic roles & 50–950 ramp

primary
#7A6717
secondary
#3E54AF
accent
#5EEB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6717

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

Preview Lab → · Contrast checker → · Palette generator →

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