#AF9220#AF9220

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

Color values

HEX#AF9220
RGBrgb(175, 146, 32)
HSLhsl(48, 69%, 41%)
HSVhsv(48, 82%, 69%)
CMYKcmyk(0%, 16.6%, 81.7%, 31.4%)
CIE-LABlab(61.46, -0.32, 59.06)
CIE-LCHlch(61.46, 59.06, 90.31°)
OKLaboklab(66.77% -0.0077 0.1274)
OKLCHoklch(66.77% 0.128 93.5)
XYZxyz(28.2204, 29.7777, 5.6275)
Luminance0.2978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9220 #203DAF
analogous
#AF4A20 #AF9220 #84AF20
triadic
#AF9220 #20AF92 #9220AF
tetradic
#AF9220 #20AF4A #203DAF #AF2084
square
#AF9220 #20AF4A #203DAF #AF2084
split-complementary
#AF9220 #2084AF #4A20AF
monochromatic
#483C0D #7B6717 #AF9220 #DAB833 #E3CA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9220#FFFFFF#000000##000000
##AF92201.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)
#A38F00
Deuteranopia (green-blind)
#AA9828
Tritanopia (blue-blind)
#BE857D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #af9220;
/* rgb */ color: rgb(175, 146, 32);
/* oklch */ color: oklch(66.8% 0.128 93.5);
Tailwind
colors: {
  custom: {
    50: '#cbb167',
    500: '#af9220',
    950: '#000000',
  },
}
SCSS
$custom: #af9220;
$custom-light: #cbb167;
$custom-dark: #000000;
JSON
{
  "hex": "#af9220",
  "rgb": {
    "r": 175,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 47.832,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66774,
    "c": 0.12765,
    "h": 93.5
  },
  "luminance": 0.29776
}

Semantic roles & 50–950 ramp

primary
#AF9220
secondary
#6277C8
accent
#60EC3C
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A

Preview Lab

Preview with #AF9220

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

Preview Lab → · Contrast checker → · Palette generator →

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