#AF9E24#AF9E24

#AF9E24 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.4% C 0.134 H 100.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AF9E24
RGBrgb(175, 158, 36)
HSLhsl(53, 66%, 41%)
HSVhsv(53, 79%, 69%)
CMYKcmyk(0%, 9.7%, 79.4%, 31.4%)
CIE-LABlab(64.72, -6.65, 60.69)
CIE-LCHlch(64.72, 61.05, 96.25°)
OKLaboklab(69.36% -0.0253 0.1318)
OKLCHoklch(69.36% 0.134 100.9)
XYZxyz(30.2260, 33.6965, 6.5807)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E24 #2435AF
analogous
#AF5924 #AF9E24 #7BAF24
triadic
#AF9E24 #24AF9E #9E24AF
tetradic
#AF9E24 #24AF59 #2435AF #AF247B
square
#AF9E24 #24AF59 #2435AF #AF247B
split-complementary
#AF9E24 #247BAF #5924AF
monochromatic
#49420F #7C701A #AF9E24 #D6C33A #E1D36D

Accessibility & contrast

On white

2.71
#AF9E24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AF9E24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E24
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E24#FFFFFF#000000##000000
##AF9E241.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9901
Deuteranopia (green-blind)
#B2A02D
Tritanopia (blue-blind)
#BD9287
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9e24;
/* rgb */ color: rgb(175, 158, 36);
/* oklch */ color: oklch(69.4% 0.134 100.9);
Tailwind
colors: {
  custom: {
    50: '#cbba6a',
    500: '#af9e24',
    950: '#000000',
  },
}
SCSS
$custom: #af9e24;
$custom-light: #cbba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e24",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 36
  },
  "hsl": {
    "h": 52.662,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69362,
    "c": 0.13416,
    "h": 100.9
  },
  "luminance": 0.33695
}

Semantic roles & 50–950 ramp

primary
#AF9E24
secondary
#6873C7
accent
#54E93F
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9E24

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

Preview Lab → · Contrast checker → · Palette generator →

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