#7A7617#7A7617

#7A7617 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.2% C 0.110 H 107.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7A7617
RGBrgb(122, 118, 23)
HSLhsl(58, 68%, 28%)
HSVhsv(58, 81%, 48%)
CMYKcmyk(0%, 3.3%, 81.1%, 52.2%)
CIE-LABlab(48.46, -9.69, 48.46)
CIE-LCHlch(48.46, 49.42, 101.31°)
OKLaboklab(55.24% -0.0322 0.1054)
OKLCHoklch(55.24% 0.11 107)
XYZxyz(14.6597, 17.1568, 3.3498)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7617 #171B7A
analogous
#7A4417 #7A7617 #4C7A17
triadic
#7A7617 #177A76 #76177A
tetradic
#7A7617 #177A44 #171B7A #7A174C
square
#7A7617 #177A44 #171B7A #7A174C
split-complementary
#7A7617 #174C7A #44177A
monochromatic
#1A1905 #47440D #7A7617 #ADA821 #D9D233

Accessibility & contrast

On white

4.74
#7A7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7A7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7617
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7617#FFFFFF#000000##FFFFFF
##7A76171.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#846E64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a7617;
/* rgb */ color: rgb(122, 118, 23);
/* oklch */ color: oklch(55.2% 0.110 107.0);
Tailwind
colors: {
  custom: {
    50: '#a49d5e',
    500: '#7a7617',
    950: '#000000',
  },
}
SCSS
$custom: #7a7617;
$custom-light: #a49d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7617",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 57.576,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55235,
    "c": 0.11019,
    "h": 107
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

primary
#7A7617
secondary
#3E42AF
accent
#44EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7617

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

Preview Lab → · Contrast checker → · Palette generator →

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