#AFAD33#AFAD33

#AFAD33 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.7% C 0.139 H 108.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#AFAD33
RGBrgb(175, 173, 51)
HSLhsl(59, 55%, 44%)
HSVhsv(59, 71%, 69%)
CMYKcmyk(0%, 1.1%, 70.9%, 31.4%)
CIE-LABlab(68.93, -13.85, 59.45)
CIE-LCHlch(68.93, 61.04, 103.12°)
OKLaboklab(72.74% -0.0441 0.132)
OKLCHoklch(72.74% 0.139 108.5)
XYZxyz(33.2215, 39.2412, 8.9556)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD33 #3335AF
analogous
#AF6F33 #AFAD33 #73AF33
triadic
#AFAD33 #33AFAD #AD33AF
tetradic
#AFAD33 #33AF6F #3335AF #AF3373
square
#AFAD33 #33AF6F #3335AF #AF3373
split-complementary
#AFAD33 #3373AF #6F33AF
monochromatic
#504F17 #807E25 #AFAD33 #CDCB52 #DBD982

Accessibility & contrast

On white

2.37
#AFAD33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#AFAD33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD33
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD33#FFFFFF#000000##000000
##AFAD331.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61E
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#BCA295
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad33;
/* rgb */ color: rgb(175, 173, 51);
/* oklch */ color: oklch(72.7% 0.139 108.5);
Tailwind
colors: {
  custom: {
    50: '#cac573',
    500: '#afad33',
    950: '#000000',
  },
}
SCSS
$custom: #afad33;
$custom-light: #cac573;
$custom-dark: #000000;
JSON
{
  "hex": "#afad33",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 51
  },
  "hsl": {
    "h": 59.032,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72736,
    "c": 0.13914,
    "h": 108.5
  },
  "luminance": 0.3924
}

Semantic roles & 50–950 ramp

primary
#AFAD33
secondary
#7A7BC4
accent
#4CDE4A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFAD33

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

Preview Lab → · Contrast checker → · Palette generator →

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