#7A7219#7A7219

#7A7219 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.105 H 104.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7A7219
RGBrgb(122, 114, 25)
HSLhsl(55, 66%, 29%)
HSVhsv(55, 80%, 48%)
CMYKcmyk(0%, 6.6%, 79.5%, 52.2%)
CIE-LABlab(47.29, -7.38, 46.73)
CIE-LCHlch(47.29, 47.31, 98.97°)
OKLaboklab(54.31% -0.0255 0.1021)
OKLCHoklch(54.31% 0.105 104)
XYZxyz(14.2195, 16.2430, 3.3057)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7219 #19217A
analogous
#7A4219 #7A7219 #527A19
triadic
#7A7219 #197A72 #72197A
tetradic
#7A7219 #197A42 #19217A #7A1952
square
#7A7219 #197A42 #19217A #7A1952
split-complementary
#7A7219 #19527A #42197A
monochromatic
#191805 #47430F #7A7219 #ADA123 #D6C937

Accessibility & contrast

On white

4.94
#7A7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7A7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7219
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7219#FFFFFF#000000##FFFFFF
##7A72191.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#846A61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a7219;
/* rgb */ color: rgb(122, 114, 25);
/* oklch */ color: oklch(54.3% 0.105 104.0);
Tailwind
colors: {
  custom: {
    50: '#a49a5e',
    500: '#7a7219',
    950: '#000000',
  },
}
SCSS
$custom: #7a7219;
$custom-light: #a49a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7219",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 55.052,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.10523,
    "h": 104
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#7A7219
secondary
#4049AF
accent
#4DE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7219

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

Preview Lab → · Contrast checker → · Palette generator →

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