#AFAD46#AFAD46

#AFAD46 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.125 H 108.1°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#AFAD46
RGBrgb(175, 173, 70)
HSLhsl(59, 43%, 48%)
HSVhsv(59, 60%, 69%)
CMYKcmyk(0%, 1.1%, 60%, 31.4%)
CIE-LABlab(69.07, -12.70, 51.78)
CIE-LCHlch(69.07, 53.32, 103.78°)
OKLaboklab(72.9% -0.0388 0.1188)
OKLCHoklch(72.9% 0.125 108.1)
XYZxyz(33.7293, 39.4443, 11.6299)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD46 #4648AF
analogous
#AF7846 #AFAD46 #7CAF46
triadic
#AFAD46 #46AFAD #AD46AF
tetradic
#AFAD46 #46AF78 #4648AF #AF467C
square
#AFAD46 #46AF78 #4648AF #AF467C
split-complementary
#AFAD46 #467CAF #7846AF
monochromatic
#585723 #838235 #AFAD46 #C5C36D #D6D599

Accessibility & contrast

On white

2.36
#AFAD46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#AFAD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD46
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD46#FFFFFF#000000##000000
##AFAD461.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63A
Deuteranopia (green-blind)
#BCAA4C
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afad46;
/* rgb */ color: rgb(175, 173, 70);
/* oklch */ color: oklch(72.9% 0.125 108.1);
Tailwind
colors: {
  custom: {
    50: '#c9c57e',
    500: '#afad46',
    950: '#000000',
  },
}
SCSS
$custom: #afad46;
$custom-light: #c9c57e;
$custom-dark: #000000;
JSON
{
  "hex": "#afad46",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 70
  },
  "hsl": {
    "h": 58.857,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72899,
    "c": 0.12496,
    "h": 108.1
  },
  "luminance": 0.39443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAD46

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

Preview Lab → · Contrast checker → · Palette generator →

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