#7A6E17#7A6E17

#7A6E17 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.103 H 101.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7A6E17
RGBrgb(122, 110, 23)
HSLhsl(53, 68%, 28%)
HSVhsv(53, 81%, 48%)
CMYKcmyk(0%, 9.8%, 81.1%, 52.2%)
CIE-LABlab(46.11, -5.20, 46.36)
CIE-LCHlch(46.11, 46.65, 96.40°)
OKLaboklab(53.37% -0.0196 0.1009)
OKLCHoklch(53.37% 0.103 101)
XYZxyz(13.7573, 15.3519, 3.0490)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6E17 #17237A
analogous
#7A3C17 #7A6E17 #547A17
triadic
#7A6E17 #177A6E #6E177A
tetradic
#7A6E17 #177A3C #17237A #7A1754
square
#7A6E17 #177A3C #17237A #7A1754
split-complementary
#7A6E17 #17547A #3C177A
monochromatic
#1A1705 #47400D #7A6E17 #AD9C21 #D9C433

Accessibility & contrast

On white

5.16
#7A6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7A6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6E17
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6E17#FFFFFF#000000##FFFFFF
##7A6E171.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B02
Deuteranopia (green-blind)
#7D6F1E
Tritanopia (blue-blind)
#84655E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a6e17;
/* rgb */ color: rgb(122, 110, 23);
/* oklch */ color: oklch(53.4% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#a4975c',
    500: '#7a6e17',
    950: '#000000',
  },
}
SCSS
$custom: #7a6e17;
$custom-light: #a4975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6e17",
  "rgb": {
    "r": 122,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 52.727,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53369,
    "c": 0.10275,
    "h": 101
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#7A6E17
secondary
#3E4CAF
accent
#52EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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