#AFAE32#AFAE32

#AFAE32 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.0% C 0.141 H 109.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFAE32
RGBrgb(175, 174, 50)
HSLhsl(60, 56%, 44%)
HSVhsv(60, 71%, 69%)
CMYKcmyk(0%, 0.6%, 71.4%, 31.4%)
CIE-LABlab(69.20, -14.42, 60.08)
CIE-LCHlch(69.20, 61.78, 103.49°)
OKLaboklab(72.95% -0.0458 0.1331)
OKLCHoklch(72.95% 0.141 109)
XYZxyz(33.3922, 39.6174, 8.9049)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE32 #3233AF
analogous
#AF7032 #AFAE32 #72AF32
triadic
#AFAE32 #32AFAE #AE32AF
tetradic
#AFAE32 #32AF70 #3233AF #AF3272
square
#AFAE32 #32AF70 #3233AF #AF3272
split-complementary
#AFAE32 #3272AF #7032AF
monochromatic
#504F17 #7F7F24 #AFAE32 #CDCC51 #DBDA81

Accessibility & contrast

On white

2.35
#AFAE32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AFAE32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE32
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE32#FFFFFF#000000##000000
##AFAE321.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71C
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#BCA396
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae32;
/* rgb */ color: rgb(175, 174, 50);
/* oklch */ color: oklch(73.0% 0.141 109.0);
Tailwind
colors: {
  custom: {
    50: '#cac572',
    500: '#afae32',
    950: '#000000',
  },
}
SCSS
$custom: #afae32;
$custom-light: #cac572;
$custom-dark: #000000;
JSON
{
  "hex": "#afae32",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 50
  },
  "hsl": {
    "h": 59.52,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7295,
    "c": 0.14077,
    "h": 109
  },
  "luminance": 0.39616
}

Semantic roles & 50–950 ramp

primary
#AFAE32
secondary
#7979C4
accent
#4ADF49
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFAE32

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

Preview Lab → · Contrast checker → · Palette generator →

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