#A79F22#A79F22

#A79F22 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.8% C 0.137 H 105.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A79F22
RGBrgb(167, 159, 34)
HSLhsl(56, 66%, 39%)
HSVhsv(56, 80%, 65%)
CMYKcmyk(0%, 4.8%, 79.6%, 34.5%)
CIE-LABlab(64.26, -10.82, 60.63)
CIE-LCHlch(64.26, 61.58, 100.12°)
OKLaboklab(68.82% -0.0367 0.1316)
OKLCHoklch(68.82% 0.137 105.6)
XYZxyz(28.6245, 33.1284, 6.3997)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79F22 #222AA7
analogous
#A75D22 #A79F22 #6DA722
triadic
#A79F22 #22A79F #9F22A7
tetradic
#A79F22 #22A75D #222AA7 #A7226D
square
#A79F22 #22A75D #222AA7 #A7226D
split-complementary
#A79F22 #226DA7 #5D22A7
monochromatic
#413E0D #746F18 #A79F22 #D5CB31 #DFD864

Accessibility & contrast

On white

2.75
#A79F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#A79F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79F22
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79F22#FFFFFF#000000##000000
##A79F221.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#B09E2D
Tritanopia (blue-blind)
#B49488
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a79f22;
/* rgb */ color: rgb(167, 159, 34);
/* oklch */ color: oklch(68.8% 0.137 105.6);
Tailwind
colors: {
  custom: {
    50: '#c5bb69',
    500: '#a79f22',
    950: '#000000',
  },
}
SCSS
$custom: #a79f22;
$custom-light: #c5bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#a79f22",
  "rgb": {
    "r": 167,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 56.391,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68824,
    "c": 0.13664,
    "h": 105.6
  },
  "luminance": 0.33127
}

Semantic roles & 50–950 ramp

primary
#A79F22
secondary
#6066C5
accent
#49E93F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79F22

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

Preview Lab → · Contrast checker → · Palette generator →

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