#AFAE55#AFAE55

#AFAE55 is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.3% C 0.112 H 108.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AFAE55
RGBrgb(175, 174, 85)
HSLhsl(59, 36%, 51%)
HSVhsv(59, 51%, 69%)
CMYKcmyk(0%, 0.6%, 51.4%, 31.4%)
CIE-LABlab(69.50, -12.02, 45.27)
CIE-LCHlch(69.50, 46.83, 104.87°)
OKLaboklab(73.29% -0.0352 0.1066)
OKLCHoklch(73.29% 0.112 108.3)
XYZxyz(34.4558, 40.0428, 14.5066)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE55 #5556AF
analogous
#AF8155 #AFAE55 #83AF55
triadic
#AFAE55 #55AFAE #AE55AF
tetradic
#AFAE55 #55AF81 #5556AF #AF5583
square
#AFAE55 #55AF81 #5556AF #AF5583
split-complementary
#AFAE55 #5583AF #8155AF
monochromatic
#5E5D2C #878640 #AFAE55 #C3C27F #D6D6A8

Accessibility & contrast

On white

2.33
#AFAE55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#AFAE55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE55
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE55#FFFFFF#000000##000000
##AFAE551.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84D
Deuteranopia (green-blind)
#BCAB5A
Tritanopia (blue-blind)
#BAA59A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae55;
/* rgb */ color: rgb(175, 174, 85);
/* oklch */ color: oklch(73.3% 0.112 108.3);
Tailwind
colors: {
  custom: {
    50: '#c9c687',
    500: '#afae55',
    950: '#000000',
  },
}
SCSS
$custom: #afae55;
$custom-light: #c9c687;
$custom-dark: #000000;
JSON
{
  "hex": "#afae55",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 85
  },
  "hsl": {
    "h": 59.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7329,
    "c": 0.11222,
    "h": 108.3
  },
  "luminance": 0.40042
}

Semantic roles & 50–950 ramp

primary
#AFAE55
secondary
#9C9CC4
accent
#5DCC5C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAE55

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

Preview Lab → · Contrast checker → · Palette generator →

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