#7A7517#7A7517

#7A7517 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.109 H 106.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7A7517
RGBrgb(122, 117, 23)
HSLhsl(57, 68%, 28%)
HSVhsv(57, 81%, 48%)
CMYKcmyk(0%, 4.1%, 81.1%, 52.2%)
CIE-LABlab(48.16, -9.14, 48.20)
CIE-LCHlch(48.16, 49.06, 100.73°)
OKLaboklab(55% -0.0306 0.1048)
OKLCHoklch(55% 0.109 106.3)
XYZxyz(14.5426, 16.9226, 3.3108)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7517 #171C7A
analogous
#7A4317 #7A7517 #4D7A17
triadic
#7A7517 #177A75 #75177A
tetradic
#7A7517 #177A43 #171C7A #7A174D
square
#7A7517 #177A43 #171C7A #7A174D
split-complementary
#7A7517 #174D7A #43177A
monochromatic
#1A1905 #47440D #7A7517 #ADA621 #D9D033

Accessibility & contrast

On white

4.79
#7A7517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7A7517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7517
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7517#FFFFFF#000000##FFFFFF
##7A75171.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#846D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7517;
/* rgb */ color: rgb(122, 117, 23);
/* oklch */ color: oklch(55.0% 0.109 106.3);
Tailwind
colors: {
  custom: {
    50: '#a49c5d',
    500: '#7a7517',
    950: '#000000',
  },
}
SCSS
$custom: #7a7517;
$custom-light: #a49c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7517",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 56.97,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55,
    "c": 0.1092,
    "h": 106.3
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#7A7517
secondary
#3E44AF
accent
#45EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7517

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

Preview Lab → · Contrast checker → · Palette generator →

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