#A8AF24#A8AF24

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

Color values

HEX#A8AF24
RGBrgb(168, 175, 36)
HSLhsl(63, 66%, 41%)
HSVhsv(63, 79%, 69%)
CMYKcmyk(4%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.83, -18.56, 64.12)
CIE-LCHlch(68.83, 66.75, 106.14°)
OKLaboklab(72.5% -0.0581 0.1394)
OKLCHoklch(72.5% 0.151 112.6)
XYZxyz(31.7979, 39.1129, 7.5432)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8AF24 #2B24AF
analogous
#AF7124 #A8AF24 #63AF24
triadic
#A8AF24 #24A8AF #AF24A8
tetradic
#A8AF24 #24AF71 #2B24AF #AF2463
square
#A8AF24 #24AF71 #2B24AF #AF2463
split-complementary
#A8AF24 #2463AF #7124AF
monochromatic
#47490F #777C1A #A8AF24 #CFD63A #DBE16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8AF24#FFFFFF#000000##000000
##A8AF241.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)
#BDA931
Tritanopia (blue-blind)
#B4A496
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8af24;
/* rgb */ color: rgb(168, 175, 36);
/* oklch */ color: oklch(72.5% 0.151 112.6);
Tailwind
colors: {
  custom: {
    50: '#c6c66c',
    500: '#a8af24',
    950: '#000000',
  },
}
SCSS
$custom: #a8af24;
$custom-light: #c6c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8af24",
  "rgb": {
    "r": 168,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 63.022,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72497,
    "c": 0.15107,
    "h": 112.6
  },
  "luminance": 0.39112
}

Semantic roles & 50–950 ramp

primary
#A8AF24
secondary
#6C68C7
accent
#3FE948
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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