#AFAE50#AFAE50

#AFAE50 is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.117 H 108.4°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#AFAE50
RGBrgb(175, 174, 80)
HSLhsl(59, 37%, 50%)
HSVhsv(59, 54%, 69%)
CMYKcmyk(0%, 0.6%, 54.3%, 31.4%)
CIE-LABlab(69.45, -12.45, 47.60)
CIE-LCHlch(69.45, 49.20, 104.65°)
OKLaboklab(73.23% -0.037 0.1111)
OKLCHoklch(73.23% 0.117 108.4)
XYZxyz(34.2641, 39.9662, 13.4972)
Luminance0.3997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE50 #5051AF
analogous
#AF7E50 #AFAE50 #81AF50
triadic
#AFAE50 #50AFAE #AE50AF
tetradic
#AFAE50 #50AF7E #5051AF #AF5081
square
#AFAE50 #50AF7E #5051AF #AF5081
split-complementary
#AFAE50 #5081AF #7E50AF
monochromatic
#5B5A2A #85843D #AFAE50 #C2C17A #D5D5A4

Accessibility & contrast

On white

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

On black

8.99
#AFAE50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE50
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE50#FFFFFF#000000##000000
##AFAE501.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA847
Deuteranopia (green-blind)
#BCAB55
Tritanopia (blue-blind)
#BAA499
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae50;
/* rgb */ color: rgb(175, 174, 80);
/* oklch */ color: oklch(73.2% 0.117 108.4);
Tailwind
colors: {
  custom: {
    50: '#c9c684',
    500: '#afae50',
    950: '#000000',
  },
}
SCSS
$custom: #afae50;
$custom-light: #c9c684;
$custom-dark: #000000;
JSON
{
  "hex": "#afae50",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 80
  },
  "hsl": {
    "h": 59.368,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.73229,
    "c": 0.11706,
    "h": 108.4
  },
  "luminance": 0.39965
}

Semantic roles & 50–950 ramp

primary
#AFAE50
secondary
#9899C3
accent
#5CCD5B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAE50

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

Preview Lab → · Contrast checker → · Palette generator →

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