#A7AF24#A7AF24

#A7AF24 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.151 H 113.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#A7AF24
RGBrgb(167, 175, 36)
HSLhsl(63, 66%, 41%)
HSVhsv(63, 79%, 69%)
CMYKcmyk(4.6%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.75, -18.99, 64.02)
CIE-LCHlch(68.75, 66.78, 106.52°)
OKLaboklab(72.41% -0.0593 0.1393)
OKLCHoklch(72.41% 0.151 113.1)
XYZxyz(31.5858, 39.0035, 7.5333)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF24 #2C24AF
analogous
#AF7224 #A7AF24 #62AF24
triadic
#A7AF24 #24A7AF #AF24A7
tetradic
#A7AF24 #24AF72 #2C24AF #AF2462
square
#A7AF24 #24AF72 #2C24AF #AF2462
split-complementary
#A7AF24 #2462AF #7224AF
monochromatic
#46490F #777C1A #A7AF24 #CDD63A #DAE16D

Accessibility & contrast

On white

2.39
#A7AF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#A7AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF24
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF24#FFFFFF#000000##000000
##A7AF241.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7af24;
/* rgb */ color: rgb(167, 175, 36);
/* oklch */ color: oklch(72.4% 0.151 113.1);
Tailwind
colors: {
  custom: {
    50: '#c5c66c',
    500: '#a7af24',
    950: '#000000',
  },
}
SCSS
$custom: #a7af24;
$custom-light: #c5c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af24",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 63.453,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72414,
    "c": 0.15136,
    "h": 113.1
  },
  "luminance": 0.39003
}

Semantic roles & 50–950 ramp

primary
#A7AF24
secondary
#6D68C7
accent
#3FE949
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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