#AFAE41#AFAE41

#AFAE41 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.130 H 108.7°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#AFAE41
RGBrgb(175, 174, 65)
HSLhsl(59, 46%, 47%)
HSVhsv(59, 63%, 69%)
CMYKcmyk(0%, 0.6%, 62.9%, 31.4%)
CIE-LABlab(69.30, -13.56, 54.22)
CIE-LCHlch(69.30, 55.89, 104.04°)
OKLaboklab(73.07% -0.0418 0.1232)
OKLCHoklch(73.07% 0.13 108.7)
XYZxyz(33.7705, 39.7687, 10.8972)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE41 #4142AF
analogous
#AF7741 #AFAE41 #79AF41
triadic
#AFAE41 #41AFAE #AE41AF
tetradic
#AFAE41 #41AF77 #4142AF #AF4179
square
#AFAE41 #41AF77 #4142AF #AF4179
split-complementary
#AFAE41 #4179AF #7741AF
monochromatic
#565520 #828230 #AFAE41 #C6C667 #D7D693

Accessibility & contrast

On white

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

On black

8.95
#AFAE41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE41
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE41#FFFFFF#000000##000000
##AFAE411.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA733
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae41;
/* rgb */ color: rgb(175, 174, 65);
/* oklch */ color: oklch(73.1% 0.130 108.7);
Tailwind
colors: {
  custom: {
    50: '#cac57b',
    500: '#afae41',
    950: '#000000',
  },
}
SCSS
$custom: #afae41;
$custom-light: #cac57b;
$custom-dark: #000000;
JSON
{
  "hex": "#afae41",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 65
  },
  "hsl": {
    "h": 59.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73071,
    "c": 0.13012,
    "h": 108.7
  },
  "luminance": 0.39768
}

Semantic roles & 50–950 ramp

primary
#AFAE41
secondary
#898AC2
accent
#53D552
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAE41

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

Preview Lab → · Contrast checker → · Palette generator →

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