#AFAD3C#AFAD3C

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

Color values

HEX#AFAD3C
RGBrgb(175, 173, 60)
HSLhsl(59, 49%, 46%)
HSVhsv(59, 66%, 69%)
CMYKcmyk(0%, 1.1%, 65.7%, 31.4%)
CIE-LABlab(68.99, -13.35, 55.99)
CIE-LCHlch(68.99, 57.56, 103.42°)
OKLaboklab(72.81% -0.0417 0.1262)
OKLCHoklch(72.81% 0.133 108.3)
XYZxyz(33.4395, 39.3284, 10.1037)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD3C #3C3EAF
analogous
#AF733C #AFAD3C #77AF3C
triadic
#AFAD3C #3CAFAD #AD3CAF
tetradic
#AFAD3C #3CAF73 #3C3EAF #AF3C77
square
#AFAD3C #3CAF73 #3C3EAF #AF3C77
split-complementary
#AFAD3C #3C77AF #733CAF
monochromatic
#54531D #81802C #AFAD3C #C8C760 #D8D78D

Accessibility & contrast

On white

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

On black

8.87
#AFAD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD3C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD3C#FFFFFF#000000##000000
##AFAD3C1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afad3c;
/* rgb */ color: rgb(175, 173, 60);
/* oklch */ color: oklch(72.8% 0.133 108.3);
Tailwind
colors: {
  custom: {
    50: '#cac578',
    500: '#afad3c',
    950: '#000000',
  },
}
SCSS
$custom: #afad3c;
$custom-light: #cac578;
$custom-dark: #000000;
JSON
{
  "hex": "#afad3c",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 60
  },
  "hsl": {
    "h": 58.957,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72806,
    "c": 0.13292,
    "h": 108.3
  },
  "luminance": 0.39327
}

Semantic roles & 50–950 ramp

primary
#AFAD3C
secondary
#8485C3
accent
#52D84F
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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