#AFAE53#AFAE53

#AFAE53 is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.3% C 0.114 H 108.3°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#AFAE53
RGBrgb(175, 174, 83)
HSLhsl(59, 37%, 51%)
HSVhsv(59, 53%, 69%)
CMYKcmyk(0%, 0.6%, 52.6%, 31.4%)
CIE-LABlab(69.48, -12.19, 46.20)
CIE-LCHlch(69.48, 47.79, 104.78°)
OKLaboklab(73.27% -0.0359 0.1084)
OKLCHoklch(73.27% 0.114 108.3)
XYZxyz(34.3774, 40.0115, 14.0940)
Luminance0.4001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE53 #5354AF
analogous
#AF8053 #AFAE53 #82AF53
triadic
#AFAE53 #53AFAE #AE53AF
tetradic
#AFAE53 #53AF80 #5354AF #AF5382
square
#AFAE53 #53AF80 #5354AF #AF5382
split-complementary
#AFAE53 #5382AF #8053AF
monochromatic
#5D5C2B #86863E #AFAE53 #C2C27D #D6D5A7

Accessibility & contrast

On white

2.33
#AFAE53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#AFAE53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE53
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE53#FFFFFF#000000##000000
##AFAE531.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84A
Deuteranopia (green-blind)
#BCAB58
Tritanopia (blue-blind)
#BAA49A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae53;
/* rgb */ color: rgb(175, 174, 83);
/* oklch */ color: oklch(73.3% 0.114 108.3);
Tailwind
colors: {
  custom: {
    50: '#c9c686',
    500: '#afae53',
    950: '#000000',
  },
}
SCSS
$custom: #afae53;
$custom-light: #c9c686;
$custom-dark: #000000;
JSON
{
  "hex": "#afae53",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 83
  },
  "hsl": {
    "h": 59.348,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73265,
    "c": 0.11418,
    "h": 108.3
  },
  "luminance": 0.40011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAE53

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

Preview Lab → · Contrast checker → · Palette generator →

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