#AFAA53#AFAA53

#AFAA53 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.110 H 105.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#AFAA53
RGBrgb(175, 170, 83)
HSLhsl(57, 37%, 51%)
HSVhsv(57, 53%, 69%)
CMYKcmyk(0%, 2.9%, 52.6%, 31.4%)
CIE-LABlab(68.38, -10.11, 44.92)
CIE-LCHlch(68.38, 46.05, 102.68°)
OKLaboklab(72.39% -0.03 0.1056)
OKLCHoklch(72.39% 0.11 105.8)
XYZxyz(33.6162, 38.4889, 13.8403)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA53 #5358AF
analogous
#AF7C53 #AFAA53 #86AF53
triadic
#AFAA53 #53AFAA #AA53AF
tetradic
#AFAA53 #53AF7C #5358AF #AF5386
square
#AFAA53 #53AF7C #5358AF #AF5386
split-complementary
#AFAA53 #5386AF #7C53AF
monochromatic
#5D5A2B #86823E #AFAA53 #C2BF7D #D6D3A7

Accessibility & contrast

On white

2.41
#AFAA53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#AFAA53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA53
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA53#FFFFFF#000000##000000
##AFAA531.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afaa53;
/* rgb */ color: rgb(175, 170, 83);
/* oklch */ color: oklch(72.4% 0.110 105.8);
Tailwind
colors: {
  custom: {
    50: '#c9c386',
    500: '#afaa53',
    950: '#000000',
  },
}
SCSS
$custom: #afaa53;
$custom-light: #c9c386;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa53",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 83
  },
  "hsl": {
    "h": 56.739,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72391,
    "c": 0.10977,
    "h": 105.8
  },
  "luminance": 0.38488
}

Semantic roles & 50–950 ramp

primary
#AFAA53
secondary
#9A9DC3
accent
#61CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAA53

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

Preview Lab → · Contrast checker → · Palette generator →

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