#A2AF24#A2AF24

#A2AF24 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.0% C 0.153 H 115.2°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#A2AF24
RGBrgb(162, 175, 36)
HSLhsl(66, 66%, 41%)
HSVhsv(66, 79%, 69%)
CMYKcmyk(7.4%, 0%, 79.4%, 31.4%)
CIE-LABlab(68.36, -21.14, 63.53)
CIE-LCHlch(68.36, 66.95, 108.41°)
OKLaboklab(72.01% -0.065 0.1384)
OKLCHoklch(72.01% 0.153 115.2)
XYZxyz(30.5496, 38.4692, 7.4847)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF24 #3124AF
analogous
#AF7724 #A2AF24 #5CAF24
triadic
#A2AF24 #24A2AF #AF24A2
tetradic
#A2AF24 #24AF77 #3124AF #AF245C
square
#A2AF24 #24AF77 #3124AF #AF245C
split-complementary
#A2AF24 #245CAF #7724AF
monochromatic
#44490F #737C1A #A2AF24 #C8D63A #D6E16D

Accessibility & contrast

On white

2.42
#A2AF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#A2AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF24
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF24#FFFFFF#000000##000000
##A2AF241.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2af24;
/* rgb */ color: rgb(162, 175, 36);
/* oklch */ color: oklch(72.0% 0.153 115.2);
Tailwind
colors: {
  custom: {
    50: '#c1c66c',
    500: '#a2af24',
    950: '#000000',
  },
}
SCSS
$custom: #a2af24;
$custom-light: #c1c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af24",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 65.612,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72006,
    "c": 0.15289,
    "h": 115.2
  },
  "luminance": 0.38469
}

Semantic roles & 50–950 ramp

primary
#A2AF24
secondary
#7168C7
accent
#3FE94F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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