#AFAE2D#AFAE2D

#AFAE2D is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.144 H 109.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AFAE2D
RGBrgb(175, 174, 45)
HSLhsl(60, 59%, 43%)
HSVhsv(60, 74%, 69%)
CMYKcmyk(0%, 0.6%, 74.3%, 31.4%)
CIE-LABlab(69.17, -14.65, 61.81)
CIE-LCHlch(69.17, 63.52, 103.33°)
OKLaboklab(72.92% -0.0469 0.1359)
OKLCHoklch(72.92% 0.144 109)
XYZxyz(33.2901, 39.5766, 8.3676)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE2D #2D2EAF
analogous
#AF6D2D #AFAE2D #6FAF2D
triadic
#AFAE2D #2DAFAE #AE2DAF
tetradic
#AFAE2D #2DAF6D #2D2EAF #AF2D6F
square
#AFAE2D #2DAF6D #2D2EAF #AF2D6F
split-complementary
#AFAE2D #2D6FAF #6D2DAF
monochromatic
#4E4D14 #7E7E20 #AFAE2D #D0CF49 #DDDC7A

Accessibility & contrast

On white

2.36
#AFAE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AFAE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE2D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE2D#FFFFFF#000000##000000
##AFAE2D1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA711
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#BCA395
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae2d;
/* rgb */ color: rgb(175, 174, 45);
/* oklch */ color: oklch(72.9% 0.144 109.0);
Tailwind
colors: {
  custom: {
    50: '#cac570',
    500: '#afae2d',
    950: '#000000',
  },
}
SCSS
$custom: #afae2d;
$custom-light: #cac570;
$custom-dark: #000000;
JSON
{
  "hex": "#afae2d",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 59.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72917,
    "c": 0.14374,
    "h": 109
  },
  "luminance": 0.39576
}

Semantic roles & 50–950 ramp

primary
#AFAE2D
secondary
#7374C5
accent
#47E246
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFAE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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