#AFAA5D#AFAA5D

#AFAA5D is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.099 H 105.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AFAA5D
RGBrgb(175, 170, 93)
HSLhsl(56, 34%, 53%)
HSVhsv(56, 47%, 69%)
CMYKcmyk(0%, 2.9%, 46.9%, 31.4%)
CIE-LABlab(68.50, -9.18, 40.10)
CIE-LCHlch(68.50, 41.14, 102.90°)
OKLaboklab(72.53% -0.0263 0.0959)
OKLCHoklch(72.53% 0.099 105.3)
XYZxyz(34.0305, 38.6547, 16.0223)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA5D #5D62AF
analogous
#AF815D #AFAA5D #8BAF5D
triadic
#AFAA5D #5DAFAA #AA5DAF
tetradic
#AFAA5D #5DAF81 #5D62AF #AF5D8B
square
#AFAA5D #5DAF81 #5D62AF #AF5D8B
split-complementary
#AFAA5D #5D8BAF #815DAF
monochromatic
#615E30 #8A8644 #AFAA5D #C3BF86 #D7D5AF

Accessibility & contrast

On white

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

On black

8.73
#AFAA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA5D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA5D#FFFFFF#000000##000000
##AFAA5D1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A556
Deuteranopia (green-blind)
#B8A960
Tritanopia (blue-blind)
#B9A198
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afaa5d;
/* rgb */ color: rgb(175, 170, 93);
/* oklch */ color: oklch(72.5% 0.099 105.3);
Tailwind
colors: {
  custom: {
    50: '#c8c38c',
    500: '#afaa5d',
    950: '#000000',
  },
}
SCSS
$custom: #afaa5d;
$custom-light: #c8c38c;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa5d",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 93
  },
  "hsl": {
    "h": 56.341,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72526,
    "c": 0.09945,
    "h": 105.3
  },
  "luminance": 0.38654
}

Semantic roles & 50–950 ramp

primary
#AFAA5D
secondary
#A2A4C6
accent
#64CA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFAA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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