#AF9420#AF9420

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

Color values

HEX#AF9420
RGBrgb(175, 148, 32)
HSLhsl(49, 69%, 41%)
HSVhsv(49, 82%, 69%)
CMYKcmyk(0%, 15.4%, 81.7%, 31.4%)
CIE-LABlab(62.00, -1.41, 59.53)
CIE-LCHlch(62.00, 59.54, 91.36°)
OKLaboklab(67.2% -0.0108 0.1284)
OKLCHoklch(67.2% 0.129 94.8)
XYZxyz(28.5314, 30.3997, 5.7312)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9420 #203BAF
analogous
#AF4C20 #AF9420 #82AF20
triadic
#AF9420 #20AF94 #9420AF
tetradic
#AF9420 #20AF4C #203BAF #AF2082
square
#AF9420 #20AF4C #203BAF #AF2082
split-complementary
#AF9420 #2082AF #4C20AF
monochromatic
#483C0D #7B6817 #AF9420 #DABA33 #E3CC66

Accessibility & contrast

On white

2.97
#AF9420 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9420#FFFFFF#000000##000000
##AF94201.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#AB9928
Tritanopia (blue-blind)
#BE877F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9420;
/* rgb */ color: rgb(175, 148, 32);
/* oklch */ color: oklch(67.2% 0.129 94.8);
Tailwind
colors: {
  custom: {
    50: '#cbb367',
    500: '#af9420',
    950: '#000000',
  },
}
SCSS
$custom: #af9420;
$custom-light: #cbb367;
$custom-dark: #000000;
JSON
{
  "hex": "#af9420",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 48.671,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67198,
    "c": 0.1289,
    "h": 94.8
  },
  "luminance": 0.30398
}

Semantic roles & 50–950 ramp

primary
#AF9420
secondary
#6276C8
accent
#5DEC3C
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AF9420

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

Preview Lab → · Contrast checker → · Palette generator →

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