#AFAD35#AFAD35

#AFAD35 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.8% C 0.138 H 108.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#AFAD35
RGBrgb(175, 173, 53)
HSLhsl(59, 54%, 45%)
HSVhsv(59, 70%, 69%)
CMYKcmyk(0%, 1.1%, 69.7%, 31.4%)
CIE-LABlab(68.94, -13.75, 58.71)
CIE-LCHlch(68.94, 60.30, 103.18°)
OKLaboklab(72.75% -0.0436 0.1308)
OKLCHoklch(72.75% 0.138 108.4)
XYZxyz(33.2666, 39.2592, 9.1929)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD35 #3537AF
analogous
#AF7035 #AFAD35 #74AF35
triadic
#AFAD35 #35AFAD #AD35AF
tetradic
#AFAD35 #35AF70 #3537AF #AF3574
square
#AFAD35 #35AF70 #3537AF #AF3574
split-complementary
#AFAD35 #3574AF #7035AF
monochromatic
#515019 #807F27 #AFAD35 #CCCA56 #DAD885

Accessibility & contrast

On white

2.37
#AFAD35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#AFAD35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD35
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD35#FFFFFF#000000##000000
##AFAD351.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA622
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#BBA295
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad35;
/* rgb */ color: rgb(175, 173, 53);
/* oklch */ color: oklch(72.8% 0.138 108.4);
Tailwind
colors: {
  custom: {
    50: '#cac574',
    500: '#afad35',
    950: '#000000',
  },
}
SCSS
$custom: #afad35;
$custom-light: #cac574;
$custom-dark: #000000;
JSON
{
  "hex": "#afad35",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 53
  },
  "hsl": {
    "h": 59.016,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7275,
    "c": 0.13783,
    "h": 108.4
  },
  "luminance": 0.39258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAD35

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

Preview Lab → · Contrast checker → · Palette generator →

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