#AFAE35#AFAE35

#AFAE35 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.0% C 0.139 H 108.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AFAE35
RGBrgb(175, 174, 53)
HSLhsl(60, 54%, 45%)
HSVhsv(60, 70%, 69%)
CMYKcmyk(0%, 0.6%, 69.7%, 31.4%)
CIE-LABlab(69.22, -14.26, 58.98)
CIE-LCHlch(69.22, 60.68, 103.60°)
OKLaboklab(72.97% -0.045 0.1313)
OKLCHoklch(72.97% 0.139 108.9)
XYZxyz(33.4590, 39.6441, 9.2570)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE35 #3536AF
analogous
#AF7135 #AFAE35 #73AF35
triadic
#AFAE35 #35AFAE #AE35AF
tetradic
#AFAE35 #35AF71 #3536AF #AF3573
square
#AFAE35 #35AF71 #3536AF #AF3573
split-complementary
#AFAE35 #3573AF #7135AF
monochromatic
#515119 #807F27 #AFAE35 #CCCB56 #DAD985

Accessibility & contrast

On white

2.35
#AFAE35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AFAE35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE35
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE35#FFFFFF#000000##000000
##AFAE351.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA721
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#BBA396
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae35;
/* rgb */ color: rgb(175, 174, 53);
/* oklch */ color: oklch(73.0% 0.139 108.9);
Tailwind
colors: {
  custom: {
    50: '#cac574',
    500: '#afae35',
    950: '#000000',
  },
}
SCSS
$custom: #afae35;
$custom-light: #cac574;
$custom-dark: #000000;
JSON
{
  "hex": "#afae35",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 53
  },
  "hsl": {
    "h": 59.508,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72971,
    "c": 0.13884,
    "h": 108.9
  },
  "luminance": 0.39643
}

Semantic roles & 50–950 ramp

primary
#AFAE35
secondary
#7C7DC4
accent
#4CDD4B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE35

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

Preview Lab → · Contrast checker → · Palette generator →

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