#A8AF22#A8AF22

#A8AF22 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.5% C 0.152 H 112.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#A8AF22
RGBrgb(168, 175, 34)
HSLhsl(63, 67%, 41%)
HSVhsv(63, 81%, 69%)
CMYKcmyk(4%, 0%, 80.6%, 31.4%)
CIE-LABlab(68.82, -18.63, 64.68)
CIE-LCHlch(68.82, 67.31, 106.07°)
OKLaboklab(72.49% -0.0585 0.1403)
OKLCHoklch(72.49% 0.152 112.6)
XYZxyz(31.7682, 39.1010, 7.3868)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF22 #2922AF
analogous
#AF6F22 #A8AF22 #61AF22
triadic
#A8AF22 #22A8AF #AF22A8
tetradic
#A8AF22 #22AF6F #2922AF #AF2261
square
#A8AF22 #22AF6F #2922AF #AF2261
split-complementary
#A8AF22 #2261AF #6F22AF
monochromatic
#46490E #777C18 #A8AF22 #D0D836 #DCE269

Accessibility & contrast

On white

2.38
#A8AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#A8AF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8AF22
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8AF22#FFFFFF#000000##000000
##A8AF221.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BDA930
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af22;
/* rgb */ color: rgb(168, 175, 34);
/* oklch */ color: oklch(72.5% 0.152 112.6);
Tailwind
colors: {
  custom: {
    50: '#c6c66b',
    500: '#a8af22',
    950: '#000000',
  },
}
SCSS
$custom: #a8af22;
$custom-light: #c6c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af22",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 62.979,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72487,
    "c": 0.15198,
    "h": 112.6
  },
  "luminance": 0.391
}

Semantic roles & 50–950 ramp

primary
#A8AF22
secondary
#6A65C8
accent
#3DEA46
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A8AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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