#AF9224#AF9224

#AF9224 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.8% C 0.126 H 93.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AF9224
RGBrgb(175, 146, 36)
HSLhsl(47, 66%, 41%)
HSVhsv(47, 79%, 69%)
CMYKcmyk(0%, 16.6%, 79.4%, 31.4%)
CIE-LABlab(61.48, -0.18, 57.77)
CIE-LCHlch(61.48, 57.77, 90.18°)
OKLaboklab(66.8% -0.007 0.1255)
OKLCHoklch(66.8% 0.126 93.2)
XYZxyz(28.2781, 29.8008, 5.9314)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9224 #2441AF
analogous
#AF4D24 #AF9224 #87AF24
triadic
#AF9224 #24AF92 #9224AF
tetradic
#AF9224 #24AF4D #2441AF #AF2487
square
#AF9224 #24AF4D #2441AF #AF2487
split-complementary
#AF9224 #2487AF #4D24AF
monochromatic
#493D0F #7C681A #AF9224 #D6B63A #E1C96D

Accessibility & contrast

On white

3.02
#AF9224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AF9224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9224
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9224#FFFFFF#000000##000000
##AF92241.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900A
Deuteranopia (green-blind)
#AA982B
Tritanopia (blue-blind)
#BE867D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9224;
/* rgb */ color: rgb(175, 146, 36);
/* oklch */ color: oklch(66.8% 0.126 93.2);
Tailwind
colors: {
  custom: {
    50: '#cbb168',
    500: '#af9224',
    950: '#000000',
  },
}
SCSS
$custom: #af9224;
$custom-light: #cbb168;
$custom-dark: #000000;
JSON
{
  "hex": "#af9224",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 47.482,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66797,
    "c": 0.12569,
    "h": 93.2
  },
  "luminance": 0.29799
}

Semantic roles & 50–950 ramp

primary
#AF9224
secondary
#687CC7
accent
#62E93F
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9224

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

Preview Lab → · Contrast checker → · Palette generator →

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