#7A6D17#7A6D17

#7A6D17 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.102 H 100.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7A6D17
RGBrgb(122, 109, 23)
HSLhsl(52, 68%, 28%)
HSVhsv(52, 81%, 48%)
CMYKcmyk(0%, 10.7%, 81.1%, 52.2%)
CIE-LABlab(45.82, -4.63, 46.09)
CIE-LCHlch(45.82, 46.33, 95.74°)
OKLaboklab(53.14% -0.018 0.1003)
OKLCHoklch(53.14% 0.102 100.2)
XYZxyz(13.6500, 15.1374, 3.0133)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6D17 #17247A
analogous
#7A3B17 #7A6D17 #557A17
triadic
#7A6D17 #177A6D #6D177A
tetradic
#7A6D17 #177A3B #17247A #7A1755
square
#7A6D17 #177A3B #17247A #7A1755
split-complementary
#7A6D17 #17557A #3B177A
monochromatic
#1A1705 #473F0D #7A6D17 #AD9B21 #D9C333

Accessibility & contrast

On white

5.21
#7A6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7A6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6D17
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6D17#FFFFFF#000000##FFFFFF
##7A6D171.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#84645D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a6d17;
/* rgb */ color: rgb(122, 109, 23);
/* oklch */ color: oklch(53.1% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#a4965c',
    500: '#7a6d17',
    950: '#000000',
  },
}
SCSS
$custom: #7a6d17;
$custom-light: #a4965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6d17",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 52.121,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53138,
    "c": 0.10191,
    "h": 100.2
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#7A6D17
secondary
#3E4DAF
accent
#54EB3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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