#7A682A#7A682A

#7A682A is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.2% C 0.084 H 93.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7A682A
RGBrgb(122, 104, 42)
HSLhsl(47, 49%, 32%)
HSVhsv(47, 66%, 48%)
CMYKcmyk(0%, 14.8%, 65.6%, 52.2%)
CIE-LABlab(44.53, -0.69, 36.64)
CIE-LCHlch(44.53, 36.65, 91.09°)
OKLaboklab(52.16% -0.0045 0.0839)
OKLCHoklch(52.16% 0.084 93)
XYZxyz(13.3949, 14.2061, 4.2265)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A682A #2A3C7A
analogous
#7A402A #7A682A #647A2A
triadic
#7A682A #2A7A68 #682A7A
tetradic
#7A682A #2A7A40 #2A3C7A #7A2A64
square
#7A682A #2A7A40 #2A3C7A #7A2A64
split-complementary
#7A682A #2A647A #402A7A
monochromatic
#1F1A0B #4C411A #7A682A #A88F3A #C6AD59

Accessibility & contrast

On white

5.47
#7A682A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7A682A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A682A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A682A#FFFFFF#000000##FFFFFF
##7A682A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736623
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#84605B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a682a;
/* rgb */ color: rgb(122, 104, 42);
/* oklch */ color: oklch(52.2% 0.084 93.0);
Tailwind
colors: {
  custom: {
    50: '#a39266',
    500: '#7a682a',
    950: '#000000',
  },
}
SCSS
$custom: #7a682a;
$custom-light: #a39266;
$custom-dark: #000000;
JSON
{
  "hex": "#7a682a",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 42
  },
  "hsl": {
    "h": 46.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.08403,
    "h": 93
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#7A682A
secondary
#5568AB
accent
#6ED84F
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #7A682A

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

Preview Lab → · Contrast checker → · Palette generator →

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