#AFAD3F#AFAD3F

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

Color values

HEX#AFAD3F
RGBrgb(175, 173, 63)
HSLhsl(59, 47%, 47%)
HSVhsv(59, 64%, 69%)
CMYKcmyk(0%, 1.1%, 64%, 31.4%)
CIE-LABlab(69.01, -13.17, 54.76)
CIE-LCHlch(69.01, 56.32, 103.52°)
OKLaboklab(72.83% -0.0409 0.1241)
OKLCHoklch(72.83% 0.131 108.2)
XYZxyz(33.5211, 39.3610, 10.5333)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD3F #3F41AF
analogous
#AF753F #AFAD3F #79AF3F
triadic
#AFAD3F #3FAFAD #AD3FAF
tetradic
#AFAD3F #3FAF75 #3F41AF #AF3F79
square
#AFAD3F #3FAF75 #3F41AF #AF3F79
split-complementary
#AFAD3F #3F79AF #753FAF
monochromatic
#55541F #82812F #AFAD3F #C7C564 #D7D691

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAD3F#FFFFFF#000000##000000
##AFAD3F1.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)
#BBA631
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#BBA296
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad3f;
/* rgb */ color: rgb(175, 173, 63);
/* oklch */ color: oklch(72.8% 0.131 108.2);
Tailwind
colors: {
  custom: {
    50: '#cac57a',
    500: '#afad3f',
    950: '#000000',
  },
}
SCSS
$custom: #afad3f;
$custom-light: #cac57a;
$custom-dark: #000000;
JSON
{
  "hex": "#afad3f",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 58.929,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72832,
    "c": 0.13065,
    "h": 108.2
  },
  "luminance": 0.3936
}

Semantic roles & 50–950 ramp

primary
#AFAD3F
secondary
#8788C3
accent
#54D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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