#A8A122#A8A122

#A8A122 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.138 H 106.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A8A122
RGBrgb(168, 161, 34)
HSLhsl(57, 66%, 40%)
HSVhsv(57, 80%, 66%)
CMYKcmyk(0%, 4.2%, 79.8%, 34.1%)
CIE-LABlab(64.91, -11.43, 61.23)
CIE-LCHlch(64.91, 62.29, 100.57°)
OKLaboklab(69.36% -0.0385 0.1329)
OKLCHoklch(69.36% 0.138 106.1)
XYZxyz(29.1833, 33.9312, 6.5252)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A122 #2229A8
analogous
#A85E22 #A8A122 #6CA822
triadic
#A8A122 #22A8A1 #A122A8
tetradic
#A8A122 #22A85E #2229A8 #A8226C
square
#A8A122 #22A85E #2229A8 #A8226C
split-complementary
#A8A122 #226CA8 #5E22A8
monochromatic
#423F0D #757018 #A8A122 #D5CD32 #E0D965

Accessibility & contrast

On white

2.70
#A8A122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A8A122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A122
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A122#FFFFFF#000000##000000
##A8A1221.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B2A02D
Tritanopia (blue-blind)
#B5968A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a8a122;
/* rgb */ color: rgb(168, 161, 34);
/* oklch */ color: oklch(69.4% 0.138 106.1);
Tailwind
colors: {
  custom: {
    50: '#c6bc69',
    500: '#a8a122',
    950: '#000000',
  },
}
SCSS
$custom: #a8a122;
$custom-light: #c6bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a122",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 56.866,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69357,
    "c": 0.13832,
    "h": 106.1
  },
  "luminance": 0.3393
}

Semantic roles & 50–950 ramp

primary
#A8A122
secondary
#6166C5
accent
#47E93F
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A8A122

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

Preview Lab → · Contrast checker → · Palette generator →

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