#7A7319#7A7319

#7A7319 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.5% C 0.106 H 104.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7A7319
RGBrgb(122, 115, 25)
HSLhsl(56, 66%, 29%)
HSVhsv(56, 80%, 48%)
CMYKcmyk(0%, 5.7%, 79.5%, 52.2%)
CIE-LABlab(47.58, -7.94, 47.00)
CIE-LCHlch(47.58, 47.67, 99.59°)
OKLaboklab(54.54% -0.0271 0.1027)
OKLCHoklch(54.54% 0.106 104.8)
XYZxyz(14.3329, 16.4698, 3.3435)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7319 #19207A
analogous
#7A4319 #7A7319 #517A19
triadic
#7A7319 #197A73 #73197A
tetradic
#7A7319 #197A43 #19207A #7A1951
square
#7A7319 #197A43 #19207A #7A1951
split-complementary
#7A7319 #19517A #43197A
monochromatic
#191805 #47430F #7A7319 #ADA323 #D6CB37

Accessibility & contrast

On white

4.89
#7A7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7A7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7319
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7319#FFFFFF#000000##FFFFFF
##7A73191.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#807320
Tritanopia (blue-blind)
#846B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7319;
/* rgb */ color: rgb(122, 115, 25);
/* oklch */ color: oklch(54.5% 0.106 104.8);
Tailwind
colors: {
  custom: {
    50: '#a49b5e',
    500: '#7a7319',
    950: '#000000',
  },
}
SCSS
$custom: #7a7319;
$custom-light: #a49b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7319",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 55.67,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.10618,
    "h": 104.8
  },
  "luminance": 0.16469
}

Semantic roles & 50–950 ramp

primary
#7A7319
secondary
#4048AF
accent
#4BE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7319

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

Preview Lab → · Contrast checker → · Palette generator →

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