#AF9424#AF9424

#AF9424 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 67.2% C 0.127 H 94.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#AF9424
RGBrgb(175, 148, 36)
HSLhsl(48, 66%, 41%)
HSVhsv(48, 79%, 69%)
CMYKcmyk(0%, 15.4%, 79.4%, 31.4%)
CIE-LABlab(62.02, -1.27, 58.26)
CIE-LCHlch(62.02, 58.27, 91.25°)
OKLaboklab(67.22% -0.0101 0.1265)
OKLCHoklch(67.22% 0.127 94.5)
XYZxyz(28.5891, 30.4228, 6.0351)
Luminance0.3042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9424 #243FAF
analogous
#AF4F24 #AF9424 #85AF24
triadic
#AF9424 #24AF94 #9424AF
tetradic
#AF9424 #24AF4F #243FAF #AF2485
square
#AF9424 #24AF4F #243FAF #AF2485
split-complementary
#AF9424 #2485AF #4F24AF
monochromatic
#493E0F #7C691A #AF9424 #D6B83A #E1CA6D

Accessibility & contrast

On white

2.96
#AF9424 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#AF9424 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9424
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9424#FFFFFF#000000##000000
##AF94241.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49109
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#BE887F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9424;
/* rgb */ color: rgb(175, 148, 36);
/* oklch */ color: oklch(67.2% 0.127 94.5);
Tailwind
colors: {
  custom: {
    50: '#cbb369',
    500: '#af9424',
    950: '#000000',
  },
}
SCSS
$custom: #af9424;
$custom-light: #cbb369;
$custom-dark: #000000;
JSON
{
  "hex": "#af9424",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 36
  },
  "hsl": {
    "h": 48.345,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6722,
    "c": 0.12694,
    "h": 94.5
  },
  "luminance": 0.30421
}

Semantic roles & 50–950 ramp

primary
#AF9424
secondary
#687AC7
accent
#60E93F
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9424

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

Preview Lab → · Contrast checker → · Palette generator →

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