#7A7317#7A7317

#7A7317 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.5% C 0.107 H 104.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7A7317
RGBrgb(122, 115, 23)
HSLhsl(56, 68%, 28%)
HSVhsv(56, 81%, 48%)
CMYKcmyk(0%, 5.7%, 81.1%, 52.2%)
CIE-LABlab(47.57, -8.02, 47.67)
CIE-LCHlch(47.57, 48.34, 99.55°)
OKLaboklab(54.53% -0.0275 0.1037)
OKLCHoklch(54.53% 0.107 104.8)
XYZxyz(14.3121, 16.4615, 3.2339)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7317 #171E7A
analogous
#7A4117 #7A7317 #4F7A17
triadic
#7A7317 #177A73 #73177A
tetradic
#7A7317 #177A41 #171E7A #7A174F
square
#7A7317 #177A41 #171E7A #7A174F
split-complementary
#7A7317 #174F7A #41177A
monochromatic
#1A1805 #47420D #7A7317 #ADA421 #D9CD33

Accessibility & contrast

On white

4.89
#7A7317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7A7317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7317
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7317#FFFFFF#000000##FFFFFF
##7A73171.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#80731F
Tritanopia (blue-blind)
#846B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7317;
/* rgb */ color: rgb(122, 115, 23);
/* oklch */ color: oklch(54.5% 0.107 104.8);
Tailwind
colors: {
  custom: {
    50: '#a49b5d',
    500: '#7a7317',
    950: '#000000',
  },
}
SCSS
$custom: #7a7317;
$custom-light: #a49b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7317",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 55.758,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.10727,
    "h": 104.8
  },
  "luminance": 0.16461
}

Semantic roles & 50–950 ramp

primary
#7A7317
secondary
#3E46AF
accent
#49EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7317

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

Preview Lab → · Contrast checker → · Palette generator →

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