#AFAE33#AFAE33

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

Color values

HEX#AFAE33
RGBrgb(175, 174, 51)
HSLhsl(60, 55%, 44%)
HSVhsv(60, 71%, 69%)
CMYKcmyk(0%, 0.6%, 70.9%, 31.4%)
CIE-LABlab(69.20, -14.37, 59.72)
CIE-LCHlch(69.20, 61.42, 103.53°)
OKLaboklab(72.96% -0.0455 0.1325)
OKLCHoklch(72.96% 0.14 109)
XYZxyz(33.4140, 39.6261, 9.0198)
Luminance0.3962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE33 #3334AF
analogous
#AF7033 #AFAE33 #72AF33
triadic
#AFAE33 #33AFAE #AE33AF
tetradic
#AFAE33 #33AF70 #3334AF #AF3372
square
#AFAE33 #33AF70 #3334AF #AF3372
split-complementary
#AFAE33 #3372AF #7033AF
monochromatic
#505017 #807F25 #AFAE33 #CDCC52 #DBDA82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE33#FFFFFF#000000##000000
##AFAE331.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)
#BCA71E
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#BBA396
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae33;
/* rgb */ color: rgb(175, 174, 51);
/* oklch */ color: oklch(73.0% 0.140 109.0);
Tailwind
colors: {
  custom: {
    50: '#cac573',
    500: '#afae33',
    950: '#000000',
  },
}
SCSS
$custom: #afae33;
$custom-light: #cac573;
$custom-dark: #000000;
JSON
{
  "hex": "#afae33",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 51
  },
  "hsl": {
    "h": 59.516,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72957,
    "c": 0.14014,
    "h": 109
  },
  "luminance": 0.39625
}

Semantic roles & 50–950 ramp

primary
#AFAE33
secondary
#7A7BC4
accent
#4BDE4A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE33

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

Preview Lab → · Contrast checker → · Palette generator →

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