#AFAE46#AFAE46

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

Color values

HEX#AFAE46
RGBrgb(175, 174, 70)
HSLhsl(59, 43%, 48%)
HSVhsv(59, 60%, 69%)
CMYKcmyk(0%, 0.6%, 60%, 31.4%)
CIE-LABlab(69.35, -13.21, 52.08)
CIE-LCHlch(69.35, 53.73, 104.24°)
OKLaboklab(73.12% -0.0403 0.1194)
OKLCHoklch(73.12% 0.126 108.6)
XYZxyz(33.9218, 39.8292, 11.6941)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE46 #4647AF
analogous
#AF7A46 #AFAE46 #7BAF46
triadic
#AFAE46 #46AFAE #AE46AF
tetradic
#AFAE46 #46AF7A #4647AF #AF467B
square
#AFAE46 #46AF7A #4647AF #AF467B
split-complementary
#AFAE46 #467BAF #7A46AF
monochromatic
#585723 #838335 #AFAE46 #C5C46D #D6D699

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE46#FFFFFF#000000##000000
##AFAE461.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)
#BBA73A
Deuteranopia (green-blind)
#BDAB4C
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae46;
/* rgb */ color: rgb(175, 174, 70);
/* oklch */ color: oklch(73.1% 0.126 108.6);
Tailwind
colors: {
  custom: {
    50: '#c9c67e',
    500: '#afae46',
    950: '#000000',
  },
}
SCSS
$custom: #afae46;
$custom-light: #c9c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#afae46",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 70
  },
  "hsl": {
    "h": 59.429,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73119,
    "c": 0.12602,
    "h": 108.6
  },
  "luminance": 0.39828
}

Semantic roles & 50–950 ramp

primary
#AFAE46
secondary
#8E8FC2
accent
#56D355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAE46

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

Preview Lab → · Contrast checker → · Palette generator →

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