#7A6728#7A6728

#7A6728 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.085 H 92.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A6728
RGBrgb(122, 103, 40)
HSLhsl(46, 51%, 32%)
HSVhsv(46, 67%, 48%)
CMYKcmyk(0%, 15.6%, 67.2%, 52.2%)
CIE-LABlab(44.22, -0.25, 37.29)
CIE-LCHlch(44.22, 37.29, 90.39°)
OKLaboklab(51.91% -0.0035 0.085)
OKLCHoklch(51.91% 0.085 92.3)
XYZxyz(13.2599, 13.9920, 4.0094)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6728 #283B7A
analogous
#7A3E28 #7A6728 #647A28
triadic
#7A6728 #287A67 #67287A
tetradic
#7A6728 #287A3E #283B7A #7A2864
square
#7A6728 #287A3E #283B7A #7A2864
split-complementary
#7A6728 #28647A #3E287A
monochromatic
#1E190A #4C4019 #7A6728 #A88E37 #C7AD55

Accessibility & contrast

On white

5.53
#7A6728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7A6728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6728
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6728#FFFFFF#000000##FFFFFF
##7A67281.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726521
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#845F5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a6728;
/* rgb */ color: rgb(122, 103, 40);
/* oklch */ color: oklch(51.9% 0.085 92.3);
Tailwind
colors: {
  custom: {
    50: '#a39265',
    500: '#7a6728',
    950: '#000000',
  },
}
SCSS
$custom: #7a6728;
$custom-light: #a39265;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6728",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 46.098,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51912,
    "c": 0.08504,
    "h": 92.3
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

primary
#7A6728
secondary
#5267AC
accent
#6EDA4E
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0C06
muted
#7F7D7A

Preview Lab

Preview with #7A6728

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

Preview Lab → · Contrast checker → · Palette generator →

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