#AF9C24#AF9C24

#AF9C24 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.9% C 0.133 H 99.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AF9C24
RGBrgb(175, 156, 36)
HSLhsl(52, 66%, 41%)
HSVhsv(52, 79%, 69%)
CMYKcmyk(0%, 10.9%, 79.4%, 31.4%)
CIE-LABlab(64.18, -5.58, 60.20)
CIE-LCHlch(64.18, 60.46, 95.30°)
OKLaboklab(68.93% -0.0223 0.1307)
OKLCHoklch(68.93% 0.133 99.7)
XYZxyz(29.8876, 33.0198, 6.4679)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9C24 #2437AF
analogous
#AF5724 #AF9C24 #7DAF24
triadic
#AF9C24 #24AF9C #9C24AF
tetradic
#AF9C24 #24AF57 #2437AF #AF247D
square
#AF9C24 #24AF57 #2437AF #AF247D
split-complementary
#AF9C24 #247DAF #5724AF
monochromatic
#49420F #7C6F1A #AF9C24 #D6C13A #E1D16D

Accessibility & contrast

On white

2.76
#AF9C24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#AF9C24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9C24
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9C24#FFFFFF#000000##000000
##AF9C241.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9803
Deuteranopia (green-blind)
#B19F2D
Tritanopia (blue-blind)
#BD9086
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9c24;
/* rgb */ color: rgb(175, 156, 36);
/* oklch */ color: oklch(68.9% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#cbb86a',
    500: '#af9c24',
    950: '#000000',
  },
}
SCSS
$custom: #af9c24;
$custom-light: #cbb86a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9c24",
  "rgb": {
    "r": 175,
    "g": 156,
    "b": 36
  },
  "hsl": {
    "h": 51.799,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6893,
    "c": 0.13259,
    "h": 99.7
  },
  "luminance": 0.33018
}

Semantic roles & 50–950 ramp

primary
#AF9C24
secondary
#6875C7
accent
#56E93F
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9C24

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

Preview Lab → · Contrast checker → · Palette generator →

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