#A79D22#A79D22

#A79D22 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.4% C 0.135 H 104.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A79D22
RGBrgb(167, 157, 34)
HSLhsl(55, 66%, 39%)
HSVhsv(55, 80%, 65%)
CMYKcmyk(0%, 6%, 79.6%, 34.5%)
CIE-LABlab(63.71, -9.77, 60.13)
CIE-LCHlch(63.71, 60.92, 99.22°)
OKLaboklab(68.38% -0.0338 0.1306)
OKLCHoklch(68.38% 0.135 104.5)
XYZxyz(28.2833, 32.4461, 6.2860)
Luminance0.3245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79D22 #222CA7
analogous
#A75B22 #A79D22 #6FA722
triadic
#A79D22 #22A79D #9D22A7
tetradic
#A79D22 #22A75B #222CA7 #A7226F
square
#A79D22 #22A75B #222CA7 #A7226F
split-complementary
#A79D22 #226FA7 #5B22A7
monochromatic
#413D0D #746D18 #A79D22 #D5C931 #DFD664

Accessibility & contrast

On white

2.80
#A79D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#A79D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79D22
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79D22#FFFFFF#000000##000000
##A79D221.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AF9D2C
Tritanopia (blue-blind)
#B49286
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a79d22;
/* rgb */ color: rgb(167, 157, 34);
/* oklch */ color: oklch(68.4% 0.135 104.5);
Tailwind
colors: {
  custom: {
    50: '#c5b969',
    500: '#a79d22',
    950: '#000000',
  },
}
SCSS
$custom: #a79d22;
$custom-light: #c5b969;
$custom-dark: #000000;
JSON
{
  "hex": "#a79d22",
  "rgb": {
    "r": 167,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 55.489,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68382,
    "c": 0.13485,
    "h": 104.5
  },
  "luminance": 0.32445
}

Semantic roles & 50–950 ramp

primary
#A79D22
secondary
#6068C5
accent
#4CE93F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79D22

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

Preview Lab → · Contrast checker → · Palette generator →

#A79D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva