#AFAE48#AFAE48

#AFAE48 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.124 H 108.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#AFAE48
RGBrgb(175, 174, 72)
HSLhsl(59, 42%, 48%)
HSVhsv(59, 59%, 69%)
CMYKcmyk(0%, 0.6%, 58.9%, 31.4%)
CIE-LABlab(69.37, -13.07, 51.21)
CIE-LCHlch(69.37, 52.85, 104.32°)
OKLaboklab(73.14% -0.0396 0.1178)
OKLCHoklch(73.14% 0.124 108.6)
XYZxyz(33.9859, 39.8549, 12.0321)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE48 #4849AF
analogous
#AF7A48 #AFAE48 #7CAF48
triadic
#AFAE48 #48AFAE #AE48AF
tetradic
#AFAE48 #48AF7A #4849AF #AF487C
square
#AFAE48 #48AF7A #4849AF #AF487C
split-complementary
#AFAE48 #487CAF #7A48AF
monochromatic
#585824 #848336 #AFAE48 #C4C370 #D6D59B

Accessibility & contrast

On white

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

On black

8.97
#AFAE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE48
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE48#FFFFFF#000000##000000
##AFAE481.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73D
Deuteranopia (green-blind)
#BDAB4E
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae48;
/* rgb */ color: rgb(175, 174, 72);
/* oklch */ color: oklch(73.1% 0.124 108.6);
Tailwind
colors: {
  custom: {
    50: '#c9c67f',
    500: '#afae48',
    950: '#000000',
  },
}
SCSS
$custom: #afae48;
$custom-light: #c9c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#afae48",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 72
  },
  "hsl": {
    "h": 59.417,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7314,
    "c": 0.12432,
    "h": 108.6
  },
  "luminance": 0.39854
}

Semantic roles & 50–950 ramp

primary
#AFAE48
secondary
#9091C2
accent
#57D256
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFAE48

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

Preview Lab → · Contrast checker → · Palette generator →

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