#AFAE44#AFAE44

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

Color values

HEX#AFAE44
RGBrgb(175, 174, 68)
HSLhsl(59, 44%, 48%)
HSVhsv(59, 61%, 69%)
CMYKcmyk(0%, 0.6%, 61.1%, 31.4%)
CIE-LABlab(69.33, -13.35, 52.95)
CIE-LCHlch(69.33, 54.61, 104.16°)
OKLaboklab(73.1% -0.0409 0.121)
OKLCHoklch(73.1% 0.128 108.7)
XYZxyz(33.8597, 39.8044, 11.3671)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE44 #4445AF
analogous
#AF7844 #AFAE44 #7BAF44
triadic
#AFAE44 #44AFAE #AE44AF
tetradic
#AFAE44 #44AF78 #4445AF #AF447B
square
#AFAE44 #44AF78 #4445AF #AF447B
split-complementary
#AFAE44 #447BAF #7844AF
monochromatic
#575622 #838233 #AFAE44 #C5C56B #D7D697

Accessibility & contrast

On white

2.34
#AFAE44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#AFAE44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE44
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE44#FFFFFF#000000##000000
##AFAE441.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA737
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae44;
/* rgb */ color: rgb(175, 174, 68);
/* oklch */ color: oklch(73.1% 0.128 108.7);
Tailwind
colors: {
  custom: {
    50: '#cac67d',
    500: '#afae44',
    950: '#000000',
  },
}
SCSS
$custom: #afae44;
$custom-light: #cac67d;
$custom-dark: #000000;
JSON
{
  "hex": "#afae44",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 68
  },
  "hsl": {
    "h": 59.439,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73099,
    "c": 0.1277,
    "h": 108.7
  },
  "luminance": 0.39803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAE44

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

Preview Lab → · Contrast checker → · Palette generator →

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