#AFAE36#AFAE36

#AFAE36 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.138 H 108.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AFAE36
RGBrgb(175, 174, 54)
HSLhsl(60, 53%, 45%)
HSVhsv(60, 69%, 69%)
CMYKcmyk(0%, 0.6%, 69.1%, 31.4%)
CIE-LABlab(69.22, -14.21, 58.61)
CIE-LCHlch(69.22, 60.30, 103.63°)
OKLaboklab(72.98% -0.0448 0.1307)
OKLCHoklch(72.98% 0.138 108.9)
XYZxyz(33.4823, 39.6534, 9.3795)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE36 #3637AF
analogous
#AF7136 #AFAE36 #74AF36
triadic
#AFAE36 #36AFAE #AE36AF
tetradic
#AFAE36 #36AF71 #3637AF #AF3674
square
#AFAE36 #36AF71 #3637AF #AF3674
split-complementary
#AFAE36 #3674AF #7136AF
monochromatic
#515119 #807F28 #AFAE36 #CBCA57 #DAD986

Accessibility & contrast

On white

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

On black

8.93
#AFAE36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE36
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE36#FFFFFF#000000##000000
##AFAE361.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA723
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#BBA396
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae36;
/* rgb */ color: rgb(175, 174, 54);
/* oklch */ color: oklch(73.0% 0.138 108.9);
Tailwind
colors: {
  custom: {
    50: '#cac575',
    500: '#afae36',
    950: '#000000',
  },
}
SCSS
$custom: #afae36;
$custom-light: #cac575;
$custom-dark: #000000;
JSON
{
  "hex": "#afae36",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 54
  },
  "hsl": {
    "h": 59.504,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72979,
    "c": 0.13818,
    "h": 108.9
  },
  "luminance": 0.39652
}

Semantic roles & 50–950 ramp

primary
#AFAE36
secondary
#7D7EC3
accent
#4DDC4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE36

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

Preview Lab → · Contrast checker → · Palette generator →

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