#A79E22#A79E22

#A79E22 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.6% C 0.136 H 105.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A79E22
RGBrgb(167, 158, 34)
HSLhsl(56, 66%, 39%)
HSVhsv(56, 80%, 65%)
CMYKcmyk(0%, 5.4%, 79.6%, 34.5%)
CIE-LABlab(63.99, -10.29, 60.38)
CIE-LCHlch(63.99, 61.25, 99.68°)
OKLaboklab(68.6% -0.0352 0.1311)
OKLCHoklch(68.6% 0.136 105.1)
XYZxyz(28.4532, 32.7858, 6.3426)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A79E22 #222BA7
analogous
#A75C22 #A79E22 #6EA722
triadic
#A79E22 #22A79E #9E22A7
tetradic
#A79E22 #22A75C #222BA7 #A7226E
square
#A79E22 #22A75C #222BA7 #A7226E
split-complementary
#A79E22 #226EA7 #5C22A7
monochromatic
#413E0D #746E18 #A79E22 #D5CA31 #DFD764

Accessibility & contrast

On white

2.78
#A79E22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A79E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A79E22
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A79E22#FFFFFF#000000##000000
##A79E221.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#B09D2C
Tritanopia (blue-blind)
#B49387
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a79e22;
/* rgb */ color: rgb(167, 158, 34);
/* oklch */ color: oklch(68.6% 0.136 105.1);
Tailwind
colors: {
  custom: {
    50: '#c5ba69',
    500: '#a79e22',
    950: '#000000',
  },
}
SCSS
$custom: #a79e22;
$custom-light: #c5ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#a79e22",
  "rgb": {
    "r": 167,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 55.94,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68602,
    "c": 0.13574,
    "h": 105.1
  },
  "luminance": 0.32785
}

Semantic roles & 50–950 ramp

primary
#A79E22
secondary
#6067C5
accent
#4AE93F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A79E22

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

Preview Lab → · Contrast checker → · Palette generator →

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