#7A7717#7A7717

#7A7717 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.111 H 107.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A7717
RGBrgb(122, 119, 23)
HSLhsl(58, 68%, 28%)
HSVhsv(58, 81%, 48%)
CMYKcmyk(0%, 2.5%, 81.1%, 52.2%)
CIE-LABlab(48.75, -10.24, 48.73)
CIE-LCHlch(48.75, 49.79, 101.87°)
OKLaboklab(55.47% -0.0337 0.106)
OKLCHoklch(55.47% 0.111 107.6)
XYZxyz(14.7781, 17.3936, 3.3893)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7717 #171A7A
analogous
#7A4517 #7A7717 #4B7A17
triadic
#7A7717 #177A77 #77177A
tetradic
#7A7717 #177A45 #171A7A #7A174B
square
#7A7717 #177A45 #171A7A #7A174B
split-complementary
#7A7717 #174B7A #45177A
monochromatic
#1A1905 #47450D #7A7717 #ADA921 #D9D333

Accessibility & contrast

On white

4.69
#7A7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7A7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7717
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7717#FFFFFF#000000##FFFFFF
##7A77171.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#836F65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a7717;
/* rgb */ color: rgb(122, 119, 23);
/* oklch */ color: oklch(55.5% 0.111 107.6);
Tailwind
colors: {
  custom: {
    50: '#a49e5e',
    500: '#7a7717',
    950: '#000000',
  },
}
SCSS
$custom: #7a7717;
$custom-light: #a49e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7717",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 58.182,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.11118,
    "h": 107.6
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#7A7717
secondary
#3E41AF
accent
#42EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7717

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

Preview Lab → · Contrast checker → · Palette generator →

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