#AF9620#AF9620

#AF9620 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.6% C 0.130 H 96.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AF9620
RGBrgb(175, 150, 32)
HSLhsl(50, 69%, 41%)
HSVhsv(50, 82%, 69%)
CMYKcmyk(0%, 14.3%, 81.7%, 31.4%)
CIE-LABlab(62.54, -2.50, 60.00)
CIE-LCHlch(62.54, 60.05, 92.38°)
OKLaboklab(67.62% -0.0139 0.1295)
OKLCHoklch(67.62% 0.13 96.1)
XYZxyz(28.8479, 31.0326, 5.8366)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9620 #2039AF
analogous
#AF4E20 #AF9620 #81AF20
triadic
#AF9620 #20AF96 #9620AF
tetradic
#AF9620 #20AF4E #2039AF #AF2081
square
#AF9620 #20AF4E #2039AF #AF2081
split-complementary
#AF9620 #2081AF #4E20AF
monochromatic
#483D0D #7B6A17 #AF9620 #DABC33 #E3CD66

Accessibility & contrast

On white

2.91
#AF9620 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AF9620 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9620
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9620#FFFFFF#000000##000000
##AF96201.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#BE8A80
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9620;
/* rgb */ color: rgb(175, 150, 32);
/* oklch */ color: oklch(67.6% 0.130 96.1);
Tailwind
colors: {
  custom: {
    50: '#cbb467',
    500: '#af9620',
    950: '#000000',
  },
}
SCSS
$custom: #af9620;
$custom-light: #cbb467;
$custom-dark: #000000;
JSON
{
  "hex": "#af9620",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 49.51,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67623,
    "c": 0.13019,
    "h": 96.1
  },
  "luminance": 0.31031
}

Semantic roles & 50–950 ramp

primary
#AF9620
secondary
#6274C8
accent
#5BEC3C
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9620

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

Preview Lab → · Contrast checker → · Palette generator →

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