#AFAE24#AFAE24

#AFAE24 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.9% C 0.148 H 109.1°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#AFAE24
RGBrgb(175, 174, 36)
HSLhsl(60, 66%, 41%)
HSVhsv(60, 79%, 69%)
CMYKcmyk(0%, 0.6%, 79.4%, 31.4%)
CIE-LABlab(69.12, -15.01, 64.60)
CIE-LCHlch(69.12, 66.32, 103.08°)
OKLaboklab(72.87% -0.0486 0.1402)
OKLCHoklch(72.87% 0.148 109.1)
XYZxyz(33.1350, 39.5145, 7.5504)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE24 #2425AF
analogous
#AF6924 #AFAE24 #6BAF24
triadic
#AFAE24 #24AFAE #AE24AF
tetradic
#AFAE24 #24AF69 #2425AF #AF246B
square
#AFAE24 #24AF69 #2425AF #AF246B
split-complementary
#AFAE24 #246BAF #6924AF
monochromatic
#49490F #7C7C1A #AFAE24 #D6D53A #E1E06D

Accessibility & contrast

On white

2.36
#AFAE24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#AFAE24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE24
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE24#FFFFFF#000000##000000
##AFAE241.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BEAB31
Tritanopia (blue-blind)
#BCA295
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae24;
/* rgb */ color: rgb(175, 174, 36);
/* oklch */ color: oklch(72.9% 0.148 109.1);
Tailwind
colors: {
  custom: {
    50: '#cbc56c',
    500: '#afae24',
    950: '#000000',
  },
}
SCSS
$custom: #afae24;
$custom-light: #cbc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#afae24",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 36
  },
  "hsl": {
    "h": 59.568,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.14836,
    "h": 109.1
  },
  "luminance": 0.39513
}

Semantic roles & 50–950 ramp

primary
#AFAE24
secondary
#6868C7
accent
#40E93F
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #AFAE24

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

Preview Lab → · Contrast checker → · Palette generator →

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