#AFAD53#AFAD53

#AFAD53 is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.0% C 0.113 H 107.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AFAD53
RGBrgb(175, 173, 83)
HSLhsl(59, 37%, 51%)
HSVhsv(59, 53%, 69%)
CMYKcmyk(0%, 1.1%, 52.6%, 31.4%)
CIE-LABlab(69.20, -11.67, 45.88)
CIE-LCHlch(69.20, 47.35, 104.27°)
OKLaboklab(73.05% -0.0344 0.1077)
OKLCHoklch(73.05% 0.113 107.7)
XYZxyz(34.1850, 39.6265, 14.0299)
Luminance0.3963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD53 #5355AF
analogous
#AF7F53 #AFAD53 #83AF53
triadic
#AFAD53 #53AFAD #AD53AF
tetradic
#AFAD53 #53AF7F #5355AF #AF5383
square
#AFAD53 #53AF7F #5355AF #AF5383
split-complementary
#AFAD53 #5383AF #7F53AF
monochromatic
#5D5B2B #86853E #AFAD53 #C2C17D #D6D5A7

Accessibility & contrast

On white

2.35
#AFAD53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AFAD53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD53
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD53#FFFFFF#000000##000000
##AFAD531.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74A
Deuteranopia (green-blind)
#BBAB58
Tritanopia (blue-blind)
#BAA399
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afad53;
/* rgb */ color: rgb(175, 173, 83);
/* oklch */ color: oklch(73.0% 0.113 107.7);
Tailwind
colors: {
  custom: {
    50: '#c9c586',
    500: '#afad53',
    950: '#000000',
  },
}
SCSS
$custom: #afad53;
$custom-light: #c9c586;
$custom-dark: #000000;
JSON
{
  "hex": "#afad53",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 83
  },
  "hsl": {
    "h": 58.696,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73046,
    "c": 0.11307,
    "h": 107.7
  },
  "luminance": 0.39626
}

Semantic roles & 50–950 ramp

primary
#AFAD53
secondary
#9A9BC3
accent
#5ECD5B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAD53

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

Preview Lab → · Contrast checker → · Palette generator →

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