#7A7819#7A7819

#7A7819 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.111 H 108.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A7819
RGBrgb(122, 120, 25)
HSLhsl(59, 66%, 29%)
HSVhsv(59, 80%, 48%)
CMYKcmyk(0%, 1.6%, 79.5%, 52.2%)
CIE-LABlab(49.06, -10.71, 48.34)
CIE-LCHlch(49.06, 49.52, 102.49°)
OKLaboklab(55.72% -0.0348 0.1055)
OKLCHoklch(55.72% 0.111 108.3)
XYZxyz(14.9186, 17.6412, 3.5388)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7819 #191B7A
analogous
#7A4819 #7A7819 #4C7A19
triadic
#7A7819 #197A78 #78197A
tetradic
#7A7819 #197A48 #191B7A #7A194C
square
#7A7819 #197A48 #191B7A #7A194C
split-complementary
#7A7819 #194C7A #48197A
monochromatic
#191905 #47460F #7A7819 #ADAA23 #D6D337

Accessibility & contrast

On white

4.64
#7A7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7A7819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7819
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7819#FFFFFF#000000##FFFFFF
##7A78191.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837301
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#837066
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a7819;
/* rgb */ color: rgb(122, 120, 25);
/* oklch */ color: oklch(55.7% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#a49e5f',
    500: '#7a7819',
    950: '#000000',
  },
}
SCSS
$custom: #7a7819;
$custom-light: #a49e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7819",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 58.763,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55717,
    "c": 0.11113,
    "h": 108.3
  },
  "luminance": 0.17641
}

Semantic roles & 50–950 ramp

primary
#7A7819
secondary
#4043AF
accent
#42E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7819

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

Preview Lab → · Contrast checker → · Palette generator →

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