#AF9924#AF9924

#AF9924 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.3% C 0.130 H 97.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#AF9924
RGBrgb(175, 153, 36)
HSLhsl(51, 66%, 41%)
HSVhsv(51, 79%, 69%)
CMYKcmyk(0%, 12.6%, 79.4%, 31.4%)
CIE-LABlab(63.36, -3.97, 59.47)
CIE-LCHlch(63.36, 59.60, 93.82°)
OKLaboklab(68.29% -0.0177 0.1291)
OKLCHoklch(68.29% 0.13 97.8)
XYZxyz(29.3904, 32.0254, 6.3022)
Luminance0.3202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9924 #243AAF
analogous
#AF5424 #AF9924 #80AF24
triadic
#AF9924 #24AF99 #9924AF
tetradic
#AF9924 #24AF54 #243AAF #AF2480
square
#AF9924 #24AF54 #243AAF #AF2480
split-complementary
#AF9924 #2480AF #5424AF
monochromatic
#49400F #7C6D1A #AF9924 #D6BE3A #E1CE6D

Accessibility & contrast

On white

2.84
#AF9924 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#AF9924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9924
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9924#FFFFFF#000000##000000
##AF99241.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99505
Deuteranopia (green-blind)
#AF9D2C
Tritanopia (blue-blind)
#BD8D83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9924;
/* rgb */ color: rgb(175, 153, 36);
/* oklch */ color: oklch(68.3% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#cbb669',
    500: '#af9924',
    950: '#000000',
  },
}
SCSS
$custom: #af9924;
$custom-light: #cbb669;
$custom-dark: #000000;
JSON
{
  "hex": "#af9924",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 50.504,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68285,
    "c": 0.13036,
    "h": 97.8
  },
  "luminance": 0.32024
}

Semantic roles & 50–950 ramp

primary
#AF9924
secondary
#6877C7
accent
#5AE93F
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9924

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

Preview Lab → · Contrast checker → · Palette generator →

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