#A8A022#A8A022

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

Color values

HEX#A8A022
RGBrgb(168, 160, 34)
HSLhsl(56, 66%, 40%)
HSVhsv(56, 80%, 66%)
CMYKcmyk(0%, 4.8%, 79.8%, 34.1%)
CIE-LABlab(64.63, -10.90, 60.98)
CIE-LCHlch(64.63, 61.95, 100.14°)
OKLaboklab(69.14% -0.037 0.1323)
OKLCHoklch(69.14% 0.137 105.6)
XYZxyz(29.0093, 33.5831, 6.4672)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A022 #222AA8
analogous
#A85D22 #A8A022 #6DA822
triadic
#A8A022 #22A8A0 #A022A8
tetradic
#A8A022 #22A85D #222AA8 #A8226D
square
#A8A022 #22A85D #222AA8 #A8226D
split-complementary
#A8A022 #226DA8 #5D22A8
monochromatic
#423F0D #757018 #A8A022 #D5CC32 #E0D865

Accessibility & contrast

On white

2.72
#A8A022 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A8A022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A022
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A022#FFFFFF#000000##000000
##A8A0221.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#B59589
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a022;
/* rgb */ color: rgb(168, 160, 34);
/* oklch */ color: oklch(69.1% 0.137 105.6);
Tailwind
colors: {
  custom: {
    50: '#c6bb69',
    500: '#a8a022',
    950: '#000000',
  },
}
SCSS
$custom: #a8a022;
$custom-light: #c6bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a022",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 56.418,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69136,
    "c": 0.13741,
    "h": 105.6
  },
  "luminance": 0.33582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A022

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

Preview Lab → · Contrast checker → · Palette generator →

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