#7A6F17#7A6F17

#7A6F17 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.6% C 0.104 H 101.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7A6F17
RGBrgb(122, 111, 23)
HSLhsl(53, 68%, 28%)
HSVhsv(53, 81%, 48%)
CMYKcmyk(0%, 9%, 81.1%, 52.2%)
CIE-LABlab(46.40, -5.77, 46.62)
CIE-LCHlch(46.40, 46.98, 97.06°)
OKLaboklab(53.6% -0.0212 0.1014)
OKLCHoklch(53.6% 0.104 101.8)
XYZxyz(13.8658, 15.5690, 3.0852)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6F17 #17227A
analogous
#7A3D17 #7A6F17 #537A17
triadic
#7A6F17 #177A6F #6F177A
tetradic
#7A6F17 #177A3D #17227A #7A1753
square
#7A6F17 #177A3D #17227A #7A1753
split-complementary
#7A6F17 #17537A #3D177A
monochromatic
#1A1705 #47400D #7A6F17 #AD9E21 #D9C633

Accessibility & contrast

On white

5.11
#7A6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7A6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6F17
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6F17#FFFFFF#000000##FFFFFF
##7A6F171.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#7D701E
Tritanopia (blue-blind)
#84665F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a6f17;
/* rgb */ color: rgb(122, 111, 23);
/* oklch */ color: oklch(53.6% 0.104 101.8);
Tailwind
colors: {
  custom: {
    50: '#a4985d',
    500: '#7a6f17',
    950: '#000000',
  },
}
SCSS
$custom: #7a6f17;
$custom-light: #a4985d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6f17",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 53.333,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.536,
    "c": 0.10363,
    "h": 101.8
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#7A6F17
secondary
#3E4AAF
accent
#50EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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