#AFAB53#AFAB53

#AFAB53 is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.111 H 106.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#AFAB53
RGBrgb(175, 171, 83)
HSLhsl(57, 37%, 51%)
HSVhsv(57, 53%, 69%)
CMYKcmyk(0%, 2.3%, 52.6%, 31.4%)
CIE-LABlab(68.65, -10.63, 45.24)
CIE-LCHlch(68.65, 46.48, 103.22°)
OKLaboklab(72.61% -0.0315 0.1063)
OKLCHoklch(72.61% 0.111 106.5)
XYZxyz(33.8043, 38.8653, 13.9030)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB53 #5357AF
analogous
#AF7D53 #AFAB53 #85AF53
triadic
#AFAB53 #53AFAB #AB53AF
tetradic
#AFAB53 #53AF7D #5357AF #AF5385
square
#AFAB53 #53AF7D #5357AF #AF5385
split-complementary
#AFAB53 #5385AF #7D53AF
monochromatic
#5D5A2B #86833E #AFAB53 #C2BF7D #D6D4A7

Accessibility & contrast

On white

2.39
#AFAB53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#AFAB53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB53
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB53#FFFFFF#000000##000000
##AFAB531.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54B
Deuteranopia (green-blind)
#BAA957
Tritanopia (blue-blind)
#BAA197
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afab53;
/* rgb */ color: rgb(175, 171, 83);
/* oklch */ color: oklch(72.6% 0.111 106.5);
Tailwind
colors: {
  custom: {
    50: '#c9c386',
    500: '#afab53',
    950: '#000000',
  },
}
SCSS
$custom: #afab53;
$custom-light: #c9c386;
$custom-dark: #000000;
JSON
{
  "hex": "#afab53",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 83
  },
  "hsl": {
    "h": 57.391,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72609,
    "c": 0.11086,
    "h": 106.5
  },
  "luminance": 0.38864
}

Semantic roles & 50–950 ramp

primary
#AFAB53
secondary
#9A9CC3
accent
#60CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAB53

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

Preview Lab → · Contrast checker → · Palette generator →

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