#AFAD44#AFAD44

#AFAD44 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.127 H 108.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#AFAD44
RGBrgb(175, 173, 68)
HSLhsl(59, 44%, 48%)
HSVhsv(59, 61%, 69%)
CMYKcmyk(0%, 1.1%, 61.1%, 31.4%)
CIE-LABlab(69.05, -12.84, 52.65)
CIE-LCHlch(69.05, 54.19, 103.70°)
OKLaboklab(72.88% -0.0394 0.1204)
OKLCHoklch(72.88% 0.127 108.1)
XYZxyz(33.6672, 39.4194, 11.3030)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD44 #4446AF
analogous
#AF7844 #AFAD44 #7BAF44
triadic
#AFAD44 #44AFAD #AD44AF
tetradic
#AFAD44 #44AF78 #4446AF #AF447B
square
#AFAD44 #44AF78 #4446AF #AF447B
split-complementary
#AFAD44 #447BAF #7844AF
monochromatic
#575622 #838133 #AFAD44 #C5C46B #D7D597

Accessibility & contrast

On white

2.36
#AFAD44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#AFAD44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD44
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD44#FFFFFF#000000##000000
##AFAD441.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afad44;
/* rgb */ color: rgb(175, 173, 68);
/* oklch */ color: oklch(72.9% 0.127 108.1);
Tailwind
colors: {
  custom: {
    50: '#cac57c',
    500: '#afad44',
    950: '#000000',
  },
}
SCSS
$custom: #afad44;
$custom-light: #cac57c;
$custom-dark: #000000;
JSON
{
  "hex": "#afad44",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 68
  },
  "hsl": {
    "h": 58.879,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72879,
    "c": 0.12664,
    "h": 108.1
  },
  "luminance": 0.39418
}

Semantic roles & 50–950 ramp

primary
#AFAD44
secondary
#8C8DC2
accent
#56D454
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAD44

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

Preview Lab → · Contrast checker → · Palette generator →

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