#AFAE4D#AFAE4D

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

Color values

HEX#AFAE4D
RGBrgb(175, 174, 77)
HSLhsl(59, 39%, 49%)
HSVhsv(59, 56%, 69%)
CMYKcmyk(0%, 0.6%, 56%, 31.4%)
CIE-LABlab(69.41, -12.69, 48.97)
CIE-LCHlch(69.41, 50.59, 104.53°)
OKLaboklab(73.19% -0.038 0.1137)
OKLCHoklch(73.19% 0.12 108.5)
XYZxyz(34.1557, 39.9228, 12.9264)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE4D #4D4EAF
analogous
#AF7D4D #AFAE4D #7FAF4D
triadic
#AFAE4D #4DAFAE #AE4DAF
tetradic
#AFAE4D #4DAF7D #4D4EAF #AF4D7F
square
#AFAE4D #4DAF7D #4D4EAF #AF4D7F
split-complementary
#AFAE4D #4D7FAF #7D4DAF
monochromatic
#5A5928 #85843A #AFAE4D #C3C276 #D6D5A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE4D#FFFFFF#000000##000000
##AFAE4D1.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)
#BBA843
Deuteranopia (green-blind)
#BCAB52
Tritanopia (blue-blind)
#BAA499
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae4d;
/* rgb */ color: rgb(175, 174, 77);
/* oklch */ color: oklch(73.2% 0.120 108.5);
Tailwind
colors: {
  custom: {
    50: '#c9c682',
    500: '#afae4d',
    950: '#000000',
  },
}
SCSS
$custom: #afae4d;
$custom-light: #c9c682;
$custom-dark: #000000;
JSON
{
  "hex": "#afae4d",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 77
  },
  "hsl": {
    "h": 59.388,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73194,
    "c": 0.11985,
    "h": 108.5
  },
  "luminance": 0.39922
}

Semantic roles & 50–950 ramp

primary
#AFAE4D
secondary
#9596C3
accent
#5ACF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAE4D

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

Preview Lab → · Contrast checker → · Palette generator →

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