#AFAD3A#AFAD3A

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

Color values

HEX#AFAD3A
RGBrgb(175, 173, 58)
HSLhsl(59, 50%, 46%)
HSVhsv(59, 67%, 69%)
CMYKcmyk(0%, 1.1%, 66.9%, 31.4%)
CIE-LABlab(68.97, -13.47, 56.78)
CIE-LCHlch(68.97, 58.36, 103.35°)
OKLaboklab(72.79% -0.0423 0.1276)
OKLCHoklch(72.79% 0.134 108.3)
XYZxyz(33.3876, 39.3076, 9.8306)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD3A #3A3CAF
analogous
#AF723A #AFAD3A #77AF3A
triadic
#AFAD3A #3AAFAD #AD3AAF
tetradic
#AFAD3A #3AAF72 #3A3CAF #AF3A77
square
#AFAD3A #3AAF72 #3A3CAF #AF3A77
split-complementary
#AFAD3A #3A77AF #723AAF
monochromatic
#53521C #81802B #AFAD3A #C9C75D #D9D78B

Accessibility & contrast

On white

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

On black

8.86
#AFAD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD3A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD3A#FFFFFF#000000##000000
##AFAD3A1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#BDAA42
Tritanopia (blue-blind)
#BBA296
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad3a;
/* rgb */ color: rgb(175, 173, 58);
/* oklch */ color: oklch(72.8% 0.134 108.3);
Tailwind
colors: {
  custom: {
    50: '#cac577',
    500: '#afad3a',
    950: '#000000',
  },
}
SCSS
$custom: #afad3a;
$custom-light: #cac577;
$custom-dark: #000000;
JSON
{
  "hex": "#afad3a",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 58
  },
  "hsl": {
    "h": 58.974,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72789,
    "c": 0.13438,
    "h": 108.3
  },
  "luminance": 0.39307
}

Semantic roles & 50–950 ramp

primary
#AFAD3A
secondary
#8283C3
accent
#50DA4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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