#AF9824#AF9824

#AF9824 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.1% C 0.130 H 97.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AF9824
RGBrgb(175, 152, 36)
HSLhsl(50, 66%, 41%)
HSVhsv(50, 79%, 69%)
CMYKcmyk(0%, 13.1%, 79.4%, 31.4%)
CIE-LABlab(63.09, -3.44, 59.23)
CIE-LCHlch(63.09, 59.33, 93.32°)
OKLaboklab(68.07% -0.0162 0.1286)
OKLCHoklch(68.07% 0.13 97.2)
XYZxyz(29.2274, 31.6994, 6.2478)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9824 #243BAF
analogous
#AF5324 #AF9824 #81AF24
triadic
#AF9824 #24AF98 #9824AF
tetradic
#AF9824 #24AF53 #243BAF #AF2481
square
#AF9824 #24AF53 #243BAF #AF2481
split-complementary
#AF9824 #2481AF #5324AF
monochromatic
#49400F #7C6C1A #AF9824 #D6BD3A #E1CE6D

Accessibility & contrast

On white

2.86
#AF9824 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AF9824 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9824
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9824#FFFFFF#000000##000000
##AF98241.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89406
Deuteranopia (green-blind)
#AE9C2C
Tritanopia (blue-blind)
#BD8C82
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af9824;
/* rgb */ color: rgb(175, 152, 36);
/* oklch */ color: oklch(68.1% 0.130 97.2);
Tailwind
colors: {
  custom: {
    50: '#cbb569',
    500: '#af9824',
    950: '#000000',
  },
}
SCSS
$custom: #af9824;
$custom-light: #cbb569;
$custom-dark: #000000;
JSON
{
  "hex": "#af9824",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 50.072,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68071,
    "c": 0.12963,
    "h": 97.2
  },
  "luminance": 0.31698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9824

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

Preview Lab → · Contrast checker → · Palette generator →

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