#AFAE57#AFAE57

#AFAE57 is a light, moderate yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.110 H 108.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AFAE57
RGBrgb(175, 174, 87)
HSLhsl(59, 35%, 51%)
HSVhsv(59, 50%, 69%)
CMYKcmyk(0%, 0.6%, 50.3%, 31.4%)
CIE-LABlab(69.52, -11.84, 44.32)
CIE-LCHlch(69.52, 45.87, 104.96°)
OKLaboklab(73.32% -0.0345 0.1047)
OKLCHoklch(73.32% 0.11 108.2)
XYZxyz(34.5364, 40.0750, 14.9309)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE57 #5758AF
analogous
#AF8257 #AFAE57 #84AF57
triadic
#AFAE57 #57AFAE #AE57AF
tetradic
#AFAE57 #57AF82 #5758AF #AF5784
square
#AFAE57 #57AF82 #5758AF #AF5784
split-complementary
#AFAE57 #5784AF #8257AF
monochromatic
#5F5E2D #888741 #AFAE57 #C3C280 #D6D6AA

Accessibility & contrast

On white

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

On black

9.01
#AFAE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE57
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE57#FFFFFF#000000##000000
##AFAE571.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84F
Deuteranopia (green-blind)
#BCAB5B
Tritanopia (blue-blind)
#BAA59A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae57;
/* rgb */ color: rgb(175, 174, 87);
/* oklch */ color: oklch(73.3% 0.110 108.2);
Tailwind
colors: {
  custom: {
    50: '#c9c689',
    500: '#afae57',
    950: '#000000',
  },
}
SCSS
$custom: #afae57;
$custom-light: #c9c689;
$custom-dark: #000000;
JSON
{
  "hex": "#afae57",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 87
  },
  "hsl": {
    "h": 59.318,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73315,
    "c": 0.11022,
    "h": 108.2
  },
  "luminance": 0.40074
}

Semantic roles & 50–950 ramp

primary
#AFAE57
secondary
#9E9EC4
accent
#5ECC5C
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFAE57

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

Preview Lab → · Contrast checker → · Palette generator →

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