#AFAE59#AFAE59

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

Color values

HEX#AFAE59
RGBrgb(175, 174, 89)
HSLhsl(59, 35%, 52%)
HSVhsv(59, 49%, 69%)
CMYKcmyk(0%, 0.6%, 49.1%, 31.4%)
CIE-LABlab(69.55, -11.66, 43.36)
CIE-LCHlch(69.55, 44.90, 105.05°)
OKLaboklab(73.34% -0.0338 0.1028)
OKLCHoklch(73.34% 0.108 108.2)
XYZxyz(34.6192, 40.1082, 15.3673)
Luminance0.4011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE59 #595AAF
analogous
#AF8359 #AFAE59 #85AF59
triadic
#AFAE59 #59AFAE #AE59AF
tetradic
#AFAE59 #59AF83 #595AAF #AF5985
square
#AFAE59 #59AF83 #595AAF #AF5985
split-complementary
#AFAE59 #5985AF #8359AF
monochromatic
#605F2E #898842 #AFAE59 #C3C282 #D7D6AC

Accessibility & contrast

On white

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

On black

9.02
#AFAE59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE59
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE59#FFFFFF#000000##000000
##AFAE591.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA851
Deuteranopia (green-blind)
#BBAB5D
Tritanopia (blue-blind)
#B9A59A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae59;
/* rgb */ color: rgb(175, 174, 89);
/* oklch */ color: oklch(73.3% 0.108 108.2);
Tailwind
colors: {
  custom: {
    50: '#c9c68a',
    500: '#afae59',
    950: '#000000',
  },
}
SCSS
$custom: #afae59;
$custom-light: #c9c68a;
$custom-dark: #000000;
JSON
{
  "hex": "#afae59",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 89
  },
  "hsl": {
    "h": 59.302,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.10818,
    "h": 108.2
  },
  "luminance": 0.40107
}

Semantic roles & 50–950 ramp

primary
#AFAE59
secondary
#9F9FC5
accent
#5ECB5D
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFAE59

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

Preview Lab → · Contrast checker → · Palette generator →

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