#7A6D19#7A6D19

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

Color values

HEX#7A6D19
RGBrgb(122, 109, 25)
HSLhsl(52, 66%, 29%)
HSVhsv(52, 80%, 48%)
CMYKcmyk(0%, 10.7%, 79.5%, 52.2%)
CIE-LABlab(45.83, -4.55, 45.39)
CIE-LCHlch(45.83, 45.62, 95.72°)
OKLaboklab(53.15% -0.0175 0.0992)
OKLCHoklch(53.15% 0.101 100)
XYZxyz(13.6708, 15.1457, 3.1228)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6D19 #19267A
analogous
#7A3D19 #7A6D19 #577A19
triadic
#7A6D19 #197A6D #6D197A
tetradic
#7A6D19 #197A3D #19267A #7A1957
square
#7A6D19 #197A3D #19267A #7A1957
split-complementary
#7A6D19 #19577A #3D197A
monochromatic
#191705 #47400F #7A6D19 #AD9A23 #D6C137

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A6D19#FFFFFF#000000##FFFFFF
##7A6D191.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)
#786A07
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#84645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a6d19;
/* rgb */ color: rgb(122, 109, 25);
/* oklch */ color: oklch(53.2% 0.101 100.0);
Tailwind
colors: {
  custom: {
    50: '#a4965d',
    500: '#7a6d19',
    950: '#000000',
  },
}
SCSS
$custom: #7a6d19;
$custom-light: #a4965d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6d19",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 51.959,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53151,
    "c": 0.10077,
    "h": 100
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#7A6D19
secondary
#404FAF
accent
#56E93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6D19

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

Preview Lab → · Contrast checker → · Palette generator →

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