#7A682F#7A682F

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

Color values

HEX#7A682F
RGBrgb(122, 104, 47)
HSLhsl(46, 44%, 33%)
HSVhsv(46, 61%, 48%)
CMYKcmyk(0%, 14.8%, 61.5%, 52.2%)
CIE-LABlab(44.58, -0.31, 34.16)
CIE-LCHlch(44.58, 34.16, 90.52°)
OKLaboklab(52.22% -0.0027 0.0793)
OKLCHoklch(52.22% 0.079 91.9)
XYZxyz(13.4900, 14.2441, 4.7276)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A682F #2F417A
analogous
#7A422F #7A682F #667A2F
triadic
#7A682F #2F7A68 #682F7A
tetradic
#7A682F #2F7A42 #2F417A #7A2F66
square
#7A682F #2F7A42 #2F417A #7A2F66
split-complementary
#7A682F #2F667A #422F7A
monochromatic
#221D0D #4E421E #7A682F #A68E40 #C2AB61

Accessibility & contrast

On white

5.46
#7A682F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7A682F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A682F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A682F#FFFFFF#000000##FFFFFF
##7A682F1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#83605B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a682f;
/* rgb */ color: rgb(122, 104, 47);
/* oklch */ color: oklch(52.2% 0.079 91.9);
Tailwind
colors: {
  custom: {
    50: '#a3926a',
    500: '#7a682f',
    950: '#000000',
  },
}
SCSS
$custom: #7a682f;
$custom-light: #a3926a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a682f",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 47
  },
  "hsl": {
    "h": 45.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5222,
    "c": 0.07936,
    "h": 91.9
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#7A682F
secondary
#5C6EA9
accent
#73D454
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #7A682F

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

Preview Lab → · Contrast checker → · Palette generator →

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