#7A7019#7A7019

#7A7019 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.8% C 0.103 H 102.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7A7019
RGBrgb(122, 112, 25)
HSLhsl(54, 66%, 29%)
HSVhsv(54, 80%, 48%)
CMYKcmyk(0%, 8.2%, 79.5%, 52.2%)
CIE-LABlab(46.71, -6.25, 46.19)
CIE-LCHlch(46.71, 46.62, 97.71°)
OKLaboklab(53.84% -0.0223 0.101)
OKLCHoklch(53.84% 0.103 102.5)
XYZxyz(13.9963, 15.7967, 3.2313)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7019 #19237A
analogous
#7A4019 #7A7019 #547A19
triadic
#7A7019 #197A70 #70197A
tetradic
#7A7019 #197A40 #19237A #7A1954
square
#7A7019 #197A40 #19237A #7A1954
split-complementary
#7A7019 #19547A #40197A
monochromatic
#191705 #47410F #7A7019 #AD9F23 #D6C637

Accessibility & contrast

On white

5.05
#7A7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7A7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7019
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7019#FFFFFF#000000##FFFFFF
##7A70191.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#846760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a7019;
/* rgb */ color: rgb(122, 112, 25);
/* oklch */ color: oklch(53.8% 0.103 102.5);
Tailwind
colors: {
  custom: {
    50: '#a4985e',
    500: '#7a7019',
    950: '#000000',
  },
}
SCSS
$custom: #7a7019;
$custom-light: #a4985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7019",
  "rgb": {
    "r": 122,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 53.814,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.10339,
    "h": 102.5
  },
  "luminance": 0.15796
}

Semantic roles & 50–950 ramp

primary
#7A7019
secondary
#404CAF
accent
#50E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7A7019

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

Preview Lab → · Contrast checker → · Palette generator →

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