#A3AF22#A3AF22

#A3AF22 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.153 H 114.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#A3AF22
RGBrgb(163, 175, 34)
HSLhsl(65, 67%, 41%)
HSVhsv(65, 81%, 69%)
CMYKcmyk(6.9%, 0%, 80.6%, 31.4%)
CIE-LABlab(68.43, -20.79, 64.19)
CIE-LCHlch(68.43, 67.47, 107.95°)
OKLaboklab(72.08% -0.0642 0.1394)
OKLCHoklch(72.08% 0.153 114.7)
XYZxyz(30.7239, 38.5625, 7.3379)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3AF22 #2E22AF
analogous
#AF7422 #A3AF22 #5DAF22
triadic
#A3AF22 #22A3AF #AF22A3
tetradic
#A3AF22 #22AF74 #2E22AF #AF225D
square
#A3AF22 #22AF74 #2E22AF #AF225D
split-complementary
#A3AF22 #225DAF #7422AF
monochromatic
#44490E #737C18 #A3AF22 #CAD836 #D8E269

Accessibility & contrast

On white

2.41
#A3AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#A3AF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3AF22
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3AF22#FFFFFF#000000##000000
##A3AF221.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA830
Tritanopia (blue-blind)
#AEA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a3af22;
/* rgb */ color: rgb(163, 175, 34);
/* oklch */ color: oklch(72.1% 0.153 114.7);
Tailwind
colors: {
  custom: {
    50: '#c2c66b',
    500: '#a3af22',
    950: '#000000',
  },
}
SCSS
$custom: #a3af22;
$custom-light: #c2c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a3af22",
  "rgb": {
    "r": 163,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 65.106,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72077,
    "c": 0.15348,
    "h": 114.7
  },
  "luminance": 0.38562
}

Semantic roles & 50–950 ramp

primary
#A3AF22
secondary
#6D65C8
accent
#3DEA4C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A3AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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