#7A7417#7A7417

#7A7417 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.108 H 105.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7A7417
RGBrgb(122, 116, 23)
HSLhsl(56, 68%, 28%)
HSVhsv(56, 81%, 48%)
CMYKcmyk(0%, 4.9%, 81.1%, 52.2%)
CIE-LABlab(47.87, -8.58, 47.94)
CIE-LCHlch(47.87, 48.70, 100.15°)
OKLaboklab(54.77% -0.029 0.1043)
OKLCHoklch(54.77% 0.108 105.6)
XYZxyz(14.4267, 16.6908, 3.2722)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7417 #171D7A
analogous
#7A4217 #7A7417 #4E7A17
triadic
#7A7417 #177A74 #74177A
tetradic
#7A7417 #177A42 #171D7A #7A174E
square
#7A7417 #177A42 #171D7A #7A174E
split-complementary
#7A7417 #174E7A #42177A
monochromatic
#1A1805 #47430D #7A7417 #ADA521 #D9CE33

Accessibility & contrast

On white

4.84
#7A7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7A7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7417
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7417#FFFFFF#000000##FFFFFF
##7A74171.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#846C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7417;
/* rgb */ color: rgb(122, 116, 23);
/* oklch */ color: oklch(54.8% 0.108 105.6);
Tailwind
colors: {
  custom: {
    50: '#a49b5d',
    500: '#7a7417',
    950: '#000000',
  },
}
SCSS
$custom: #7a7417;
$custom-light: #a49b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7417",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 56.364,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.10823,
    "h": 105.6
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#7A7417
secondary
#3E45AF
accent
#47EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7417

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

Preview Lab → · Contrast checker → · Palette generator →

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