#A4AF24#A4AF24

#A4AF24 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.152 H 114.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#A4AF24
RGBrgb(164, 175, 36)
HSLhsl(65, 66%, 41%)
HSVhsv(65, 79%, 69%)
CMYKcmyk(6.3%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.52, -20.28, 63.72)
CIE-LCHlch(68.52, 66.87, 107.66°)
OKLaboklab(72.17% -0.0627 0.1387)
OKLCHoklch(72.17% 0.152 114.3)
XYZxyz(30.9592, 38.6804, 7.5039)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AF24 #2F24AF
analogous
#AF7524 #A4AF24 #5FAF24
triadic
#A4AF24 #24A4AF #AF24A4
tetradic
#A4AF24 #24AF75 #2F24AF #AF245F
square
#A4AF24 #24AF75 #2F24AF #AF245F
split-complementary
#A4AF24 #245FAF #7524AF
monochromatic
#45490F #747C1A #A4AF24 #CAD63A #D8E16D

Accessibility & contrast

On white

2.40
#A4AF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#A4AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AF24
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AF24#FFFFFF#000000##000000
##A4AF241.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4af24;
/* rgb */ color: rgb(164, 175, 36);
/* oklch */ color: oklch(72.2% 0.152 114.3);
Tailwind
colors: {
  custom: {
    50: '#c3c66c',
    500: '#a4af24',
    950: '#000000',
  },
}
SCSS
$custom: #a4af24;
$custom-light: #c3c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a4af24",
  "rgb": {
    "r": 164,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 64.748,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.15225,
    "h": 114.3
  },
  "luminance": 0.3868
}

Semantic roles & 50–950 ramp

primary
#A4AF24
secondary
#6F68C7
accent
#3FE94C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A4AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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