#7A6615#7A6615

#7A6615 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.098 H 94.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7A6615
RGBrgb(122, 102, 21)
HSLhsl(48, 71%, 28%)
HSVhsv(48, 83%, 48%)
CMYKcmyk(0%, 16.4%, 82.8%, 52.2%)
CIE-LABlab(43.79, -0.68, 44.97)
CIE-LCHlch(43.79, 44.97, 90.87°)
OKLaboklab(51.53% -0.007 0.0975)
OKLCHoklch(51.53% 0.098 94.1)
XYZxyz(12.9135, 13.6952, 2.6726)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6615 #15297A
analogous
#7A3415 #7A6615 #5B7A15
triadic
#7A6615 #157A66 #66157A
tetradic
#7A6615 #157A34 #15297A #7A155B
square
#7A6615 #157A34 #15297A #7A155B
split-complementary
#7A6615 #155B7A #34157A
monochromatic
#1A1604 #463A0C #7A6615 #AE921E #DBB92E

Accessibility & contrast

On white

5.62
#7A6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7A6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6615
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6615#FFFFFF#000000##FFFFFF
##7A66151.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#855D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a6615;
/* rgb */ color: rgb(122, 102, 21);
/* oklch */ color: oklch(51.5% 0.098 94.1);
Tailwind
colors: {
  custom: {
    50: '#a4915a',
    500: '#7a6615',
    950: '#000000',
  },
}
SCSS
$custom: #7a6615;
$custom-light: #a4915a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6615",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 48.119,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.0977,
    "h": 94.1
  },
  "luminance": 0.13694
}

Semantic roles & 50–950 ramp

primary
#7A6615
secondary
#3B52AF
accent
#5EED3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7A6615

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

Preview Lab → · Contrast checker → · Palette generator →

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