#AFAA50#AFAA50

#AFAA50 is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.113 H 106.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#AFAA50
RGBrgb(175, 170, 80)
HSLhsl(57, 37%, 50%)
HSVhsv(57, 54%, 69%)
CMYKcmyk(0%, 2.9%, 54.3%, 31.4%)
CIE-LABlab(68.35, -10.36, 46.33)
CIE-LCHlch(68.35, 47.48, 102.61°)
OKLaboklab(72.35% -0.031 0.1083)
OKLCHoklch(72.35% 0.113 106)
XYZxyz(33.5028, 38.4436, 13.2434)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA50 #5055AF
analogous
#AF7A50 #AFAA50 #85AF50
triadic
#AFAA50 #50AFAA #AA50AF
tetradic
#AFAA50 #50AF7A #5055AF #AF5085
square
#AFAA50 #50AF7A #5055AF #AF5085
split-complementary
#AFAA50 #5085AF #7A50AF
monochromatic
#5B582A #85813D #AFAA50 #C2BE7A #D5D3A4

Accessibility & contrast

On white

2.42
#AFAA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#AFAA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA50
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA50#FFFFFF#000000##000000
##AFAA501.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A447
Deuteranopia (green-blind)
#B9A955
Tritanopia (blue-blind)
#BAA096
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afaa50;
/* rgb */ color: rgb(175, 170, 80);
/* oklch */ color: oklch(72.4% 0.113 106.0);
Tailwind
colors: {
  custom: {
    50: '#c9c384',
    500: '#afaa50',
    950: '#000000',
  },
}
SCSS
$custom: #afaa50;
$custom-light: #c9c384;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa50",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 80
  },
  "hsl": {
    "h": 56.842,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.72353,
    "c": 0.1127,
    "h": 106
  },
  "luminance": 0.38443
}

Semantic roles & 50–950 ramp

primary
#AFAA50
secondary
#989AC3
accent
#61CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAA50

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

Preview Lab → · Contrast checker → · Palette generator →

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