#7A7117#7A7117

#7A7117 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.105 H 103.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7A7117
RGBrgb(122, 113, 23)
HSLhsl(55, 68%, 28%)
HSVhsv(55, 81%, 48%)
CMYKcmyk(0%, 7.4%, 81.1%, 52.2%)
CIE-LABlab(46.99, -6.90, 47.15)
CIE-LCHlch(46.99, 47.65, 98.32°)
OKLaboklab(54.07% -0.0243 0.1026)
OKLCHoklch(54.07% 0.105 103.4)
XYZxyz(14.0865, 16.0103, 3.1587)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7117 #17207A
analogous
#7A3F17 #7A7117 #517A17
triadic
#7A7117 #177A71 #71177A
tetradic
#7A7117 #177A3F #17207A #7A1751
square
#7A7117 #177A3F #17207A #7A1751
split-complementary
#7A7117 #17517A #3F177A
monochromatic
#1A1805 #47410D #7A7117 #ADA121 #D9C933

Accessibility & contrast

On white

5.00
#7A7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7A7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7117
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7117#FFFFFF#000000##FFFFFF
##7A71171.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#7F711E
Tritanopia (blue-blind)
#846860
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a7117;
/* rgb */ color: rgb(122, 113, 23);
/* oklch */ color: oklch(54.1% 0.105 103.4);
Tailwind
colors: {
  custom: {
    50: '#a4995d',
    500: '#7a7117',
    950: '#000000',
  },
}
SCSS
$custom: #7a7117;
$custom-light: #a4995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7117",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 54.545,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.10542,
    "h": 103.4
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#7A7117
secondary
#3E48AF
accent
#4DEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A7117

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

Preview Lab → · Contrast checker → · Palette generator →

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