#7A6C19#7A6C19

#7A6C19 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.9% C 0.100 H 99.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7A6C19
RGBrgb(122, 108, 25)
HSLhsl(51, 66%, 29%)
HSVhsv(51, 80%, 48%)
CMYKcmyk(0%, 11.5%, 79.5%, 52.2%)
CIE-LABlab(45.54, -3.98, 45.12)
CIE-LCHlch(45.54, 45.30, 95.04°)
OKLaboklab(52.92% -0.0159 0.0987)
OKLCHoklch(52.92% 0.1 99.2)
XYZxyz(13.5647, 14.9336, 3.0875)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6C19 #19277A
analogous
#7A3C19 #7A6C19 #587A19
triadic
#7A6C19 #197A6C #6C197A
tetradic
#7A6C19 #197A3C #19277A #7A1958
square
#7A6C19 #197A3C #19277A #7A1958
split-complementary
#7A6C19 #19587A #3C197A
monochromatic
#191605 #473F0F #7A6C19 #AD9923 #D6BF37

Accessibility & contrast

On white

5.27
#7A6C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7A6C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6C19
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6C19#FFFFFF#000000##FFFFFF
##7A6C191.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776907
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#84635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a6c19;
/* rgb */ color: rgb(122, 108, 25);
/* oklch */ color: oklch(52.9% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#a4955d',
    500: '#7a6c19',
    950: '#000000',
  },
}
SCSS
$custom: #7a6c19;
$custom-light: #a4955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6c19",
  "rgb": {
    "r": 122,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 51.34,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.09994,
    "h": 99.2
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#7A6C19
secondary
#4050AF
accent
#57E93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7A6C19

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

Preview Lab → · Contrast checker → · Palette generator →

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