#7A6D1E#7A6D1E

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

Color values

HEX#7A6D1E
RGBrgb(122, 109, 30)
HSLhsl(52, 61%, 30%)
HSVhsv(52, 75%, 48%)
CMYKcmyk(0%, 10.7%, 75.4%, 52.2%)
CIE-LABlab(45.87, -4.31, 43.48)
CIE-LCHlch(45.87, 43.70, 95.66°)
OKLaboklab(53.19% -0.0163 0.0962)
OKLCHoklch(53.19% 0.098 99.6)
XYZxyz(13.7297, 15.1692, 3.4328)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6D1E #1E2B7A
analogous
#7A3F1E #7A6D1E #597A1E
triadic
#7A6D1E #1E7A6D #6D1E7A
tetradic
#7A6D1E #1E7A3F #1E2B7A #7A1E59
square
#7A6D1E #1E7A3F #1E2B7A #7A1E59
split-complementary
#7A6D1E #1E597A #3F1E7A
monochromatic
#191606 #494112 #7A6D1E #AB992A #D0BC42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A6D1E#FFFFFF#000000##FFFFFF
##7A6D1E1.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)
#786A11
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#84655D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a6d1e;
/* rgb */ color: rgb(122, 109, 30);
/* oklch */ color: oklch(53.2% 0.098 99.6);
Tailwind
colors: {
  custom: {
    50: '#a49660',
    500: '#7a6d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7a6d1e;
$custom-light: #a49660;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6d1e",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 51.522,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.09759,
    "h": 99.6
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#7A6D1E
secondary
#4655AE
accent
#5BE444
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A6D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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