#7A6815#7A6815

#7A6815 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.099 H 96.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7A6815
RGBrgb(122, 104, 21)
HSLhsl(49, 71%, 28%)
HSVhsv(49, 83%, 48%)
CMYKcmyk(0%, 14.8%, 82.8%, 52.2%)
CIE-LABlab(44.37, -1.84, 45.48)
CIE-LCHlch(44.37, 45.52, 92.32°)
OKLaboklab(51.98% -0.0103 0.0986)
OKLCHoklch(51.98% 0.099 96)
XYZxyz(13.1124, 14.0931, 2.7389)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6815 #15277A
analogous
#7A3515 #7A6815 #597A15
triadic
#7A6815 #157A68 #68157A
tetradic
#7A6815 #157A35 #15277A #7A1559
square
#7A6815 #157A35 #15277A #7A1559
split-complementary
#7A6815 #15597A #35157A
monochromatic
#1A1604 #463B0C #7A6815 #AE951E #DBBC2E

Accessibility & contrast

On white

5.50
#7A6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7A6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6815
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6815#FFFFFF#000000##FFFFFF
##7A68151.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a6815;
/* rgb */ color: rgb(122, 104, 21);
/* oklch */ color: oklch(52.0% 0.099 96.0);
Tailwind
colors: {
  custom: {
    50: '#a4925b',
    500: '#7a6815',
    950: '#000000',
  },
}
SCSS
$custom: #7a6815;
$custom-light: #a4925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6815",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 49.307,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.09908,
    "h": 96
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

primary
#7A6815
secondary
#3B50AF
accent
#5AED3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7A6815

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

Preview Lab → · Contrast checker → · Palette generator →

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