#AFAE49#AFAE49

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

Color values

HEX#AFAE49
RGBrgb(175, 174, 73)
HSLhsl(59, 41%, 49%)
HSVhsv(59, 58%, 69%)
CMYKcmyk(0%, 0.6%, 58.3%, 31.4%)
CIE-LABlab(69.38, -13.00, 50.77)
CIE-LCHlch(69.38, 52.40, 104.36°)
OKLaboklab(73.15% -0.0393 0.117)
OKLCHoklch(73.15% 0.123 108.6)
XYZxyz(34.0188, 39.8680, 12.2053)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE49 #494AAF
analogous
#AF7B49 #AFAE49 #7DAF49
triadic
#AFAE49 #49AFAE #AE49AF
tetradic
#AFAE49 #49AF7B #494AAF #AF497D
square
#AFAE49 #49AF7B #494AAF #AF497D
split-complementary
#AFAE49 #497DAF #7B49AF
monochromatic
#595825 #848337 #AFAE49 #C4C371 #D6D59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE49#FFFFFF#000000##000000
##AFAE491.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)
#BBA73E
Deuteranopia (green-blind)
#BDAB4F
Tritanopia (blue-blind)
#BAA498
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae49;
/* rgb */ color: rgb(175, 174, 73);
/* oklch */ color: oklch(73.2% 0.123 108.6);
Tailwind
colors: {
  custom: {
    50: '#c9c680',
    500: '#afae49',
    950: '#000000',
  },
}
SCSS
$custom: #afae49;
$custom-light: #c9c680;
$custom-dark: #000000;
JSON
{
  "hex": "#afae49",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 73
  },
  "hsl": {
    "h": 59.412,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7315,
    "c": 0.12345,
    "h": 108.6
  },
  "luminance": 0.39867
}

Semantic roles & 50–950 ramp

primary
#AFAE49
secondary
#9192C2
accent
#58D157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFAE49

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

Preview Lab → · Contrast checker → · Palette generator →

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