#AFAE4C#AFAE4C

#AFAE4C is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.121 H 108.5°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#AFAE4C
RGBrgb(175, 174, 76)
HSLhsl(59, 39%, 49%)
HSVhsv(59, 57%, 69%)
CMYKcmyk(0%, 0.6%, 56.6%, 31.4%)
CIE-LABlab(69.40, -12.77, 49.42)
CIE-LCHlch(69.40, 51.05, 104.48°)
OKLaboklab(73.18% -0.0383 0.1145)
OKLCHoklch(73.18% 0.121 108.5)
XYZxyz(34.1207, 39.9088, 12.7419)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE4C #4C4DAF
analogous
#AF7D4C #AFAE4C #7FAF4C
triadic
#AFAE4C #4CAFAE #AE4CAF
tetradic
#AFAE4C #4CAF7D #4C4DAF #AF4C7F
square
#AFAE4C #4CAF7D #4C4DAF #AF4C7F
split-complementary
#AFAE4C #4C7FAF #7D4CAF
monochromatic
#5A5927 #848439 #AFAE4C #C3C275 #D6D5A0

Accessibility & contrast

On white

2.34
#AFAE4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#AFAE4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE4C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE4C#FFFFFF#000000##000000
##AFAE4C1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA842
Deuteranopia (green-blind)
#BCAB51
Tritanopia (blue-blind)
#BAA499
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae4c;
/* rgb */ color: rgb(175, 174, 76);
/* oklch */ color: oklch(73.2% 0.121 108.5);
Tailwind
colors: {
  custom: {
    50: '#c9c682',
    500: '#afae4c',
    950: '#000000',
  },
}
SCSS
$custom: #afae4c;
$custom-light: #c9c682;
$custom-dark: #000000;
JSON
{
  "hex": "#afae4c",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 76
  },
  "hsl": {
    "h": 59.394,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73183,
    "c": 0.12076,
    "h": 108.5
  },
  "luminance": 0.39908
}

Semantic roles & 50–950 ramp

primary
#AFAE4C
secondary
#9495C2
accent
#5ACF58
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAE4C

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

Preview Lab → · Contrast checker → · Palette generator →

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