#A8A22A#A8A22A

#A8A22A is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.135 H 106.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A8A22A
RGBrgb(168, 162, 42)
HSLhsl(57, 60%, 41%)
HSVhsv(57, 75%, 66%)
CMYKcmyk(0%, 3.6%, 75%, 34.1%)
CIE-LABlab(65.23, -11.63, 58.93)
CIE-LCHlch(65.23, 60.07, 101.16°)
OKLaboklab(69.62% -0.0383 0.1295)
OKLCHoklch(69.62% 0.135 106.5)
XYZxyz(29.4879, 34.3337, 7.2638)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A22A #2A30A8
analogous
#A8632A #A8A22A #6FA82A
triadic
#A8A22A #2AA8A2 #A22AA8
tetradic
#A8A22A #2AA863 #2A30A8 #A82A6F
square
#A8A22A #2AA863 #2A30A8 #A82A6F
split-complementary
#A8A22A #2A6FA8 #632AA8
monochromatic
#464412 #77731E #A8A22A #CFC840 #DBD671

Accessibility & contrast

On white

2.67
#A8A22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A8A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A22A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A22A#FFFFFF#000000##000000
##A8A22A1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#B3A033
Tritanopia (blue-blind)
#B5978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a8a22a;
/* rgb */ color: rgb(168, 162, 42);
/* oklch */ color: oklch(69.6% 0.135 106.5);
Tailwind
colors: {
  custom: {
    50: '#c5bd6d',
    500: '#a8a22a',
    950: '#000000',
  },
}
SCSS
$custom: #a8a22a;
$custom-light: #c5bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a22a",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 57.143,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69624,
    "c": 0.13504,
    "h": 106.5
  },
  "luminance": 0.34333
}

Semantic roles & 50–950 ramp

primary
#A8A22A
secondary
#6B6FC3
accent
#4CE345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A8A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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