#AFAE73#AFAE73

#AFAE73 is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.8% C 0.079 H 107.4°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#AFAE73
RGBrgb(175, 174, 115)
HSLhsl(59, 27%, 57%)
HSVhsv(59, 34%, 69%)
CMYKcmyk(0%, 0.6%, 34.3%, 31.4%)
CIE-LABlab(69.91, -8.85, 30.47)
CIE-LCHlch(69.91, 31.73, 106.19°)
OKLaboklab(73.75% -0.0235 0.0753)
OKLCHoklch(73.75% 0.079 107.4)
XYZxyz(35.9101, 40.6245, 22.1660)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE73 #7374AF
analogous
#AF9073 #AFAE73 #92AF73
triadic
#AFAE73 #73AFAE #AE73AF
tetradic
#AFAE73 #73AF90 #7374AF #AF7392
square
#AFAE73 #73AF90 #7374AF #AF7392
split-complementary
#AFAE73 #7392AF #9073AF
monochromatic
#6B6A3D #929153 #AFAE73 #C5C59A #DCDBC1

Accessibility & contrast

On white

2.30
#AFAE73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#AFAE73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE73
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE73#FFFFFF#000000##000000
##AFAE731.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96F
Deuteranopia (green-blind)
#B9AC75
Tritanopia (blue-blind)
#B7A79F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afae73;
/* rgb */ color: rgb(175, 174, 115);
/* oklch */ color: oklch(73.8% 0.079 107.4);
Tailwind
colors: {
  custom: {
    50: '#c8c69c',
    500: '#afae73',
    950: '#000000',
  },
}
SCSS
$custom: #afae73;
$custom-light: #c8c69c;
$custom-dark: #000000;
JSON
{
  "hex": "#afae73",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 115
  },
  "hsl": {
    "h": 59,
    "s": 27.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.73751,
    "c": 0.07887,
    "h": 107.4
  },
  "luminance": 0.40624
}

Semantic roles & 50–950 ramp

primary
#AFAE73
secondary
#B3B3CB
accent
#66C464
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFAE73

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

Preview Lab → · Contrast checker → · Palette generator →

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