#AFA624#AFA624

#AFA624 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.1% C 0.141 H 105.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#AFA624
RGBrgb(175, 166, 36)
HSLhsl(56, 66%, 41%)
HSVhsv(56, 79%, 69%)
CMYKcmyk(0%, 5.1%, 79.4%, 31.4%)
CIE-LABlab(66.91, -10.87, 62.64)
CIE-LCHlch(66.91, 63.57, 99.84°)
OKLaboklab(71.1% -0.0371 0.1359)
OKLCHoklch(71.1% 0.141 105.3)
XYZxyz(31.6352, 36.5150, 7.0504)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA624 #242DAF
analogous
#AF6124 #AFA624 #73AF24
triadic
#AFA624 #24AFA6 #A624AF
tetradic
#AFA624 #24AF61 #242DAF #AF2473
square
#AFA624 #24AF61 #242DAF #AF2473
split-complementary
#AFA624 #2473AF #6124AF
monochromatic
#49460F #7C761A #AFA624 #D6CC3A #E1D96D

Accessibility & contrast

On white

2.53
#AFA624 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#AFA624 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA624
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA624#FFFFFF#000000##000000
##AFA6241.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B8A52F
Tritanopia (blue-blind)
#BC9A8E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa624;
/* rgb */ color: rgb(175, 166, 36);
/* oklch */ color: oklch(71.1% 0.141 105.3);
Tailwind
colors: {
  custom: {
    50: '#cbc06b',
    500: '#afa624',
    950: '#000000',
  },
}
SCSS
$custom: #afa624;
$custom-light: #cbc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa624",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 36
  },
  "hsl": {
    "h": 56.115,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71104,
    "c": 0.14092,
    "h": 105.3
  },
  "luminance": 0.36514
}

Semantic roles & 50–950 ramp

primary
#AFA624
secondary
#686EC7
accent
#4AE93F
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141207
muted
#83817A

Preview Lab

Preview with #AFA624

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

Preview Lab → · Contrast checker → · Palette generator →

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