#AF9623#AF9623

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

Color values

HEX#AF9623
RGBrgb(175, 150, 35)
HSLhsl(49, 67%, 41%)
HSVhsv(49, 80%, 69%)
CMYKcmyk(0%, 14.3%, 80%, 31.4%)
CIE-LABlab(62.55, -2.39, 59.06)
CIE-LCHlch(62.55, 59.11, 92.32°)
OKLaboklab(67.64% -0.0133 0.1281)
OKLCHoklch(67.64% 0.129 95.9)
XYZxyz(28.8905, 31.0496, 6.0612)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9623 #233CAF
analogous
#AF5023 #AF9623 #82AF23
triadic
#AF9623 #23AF96 #9623AF
tetradic
#AF9623 #23AF50 #233CAF #AF2382
square
#AF9623 #23AF50 #233CAF #AF2382
split-complementary
#AF9623 #2382AF #5023AF
monochromatic
#493F0F #7C6A19 #AF9623 #D7BB38 #E1CC6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9623#FFFFFF#000000##000000
##AF96231.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)
#A69304
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9623;
/* rgb */ color: rgb(175, 150, 35);
/* oklch */ color: oklch(67.6% 0.129 95.9);
Tailwind
colors: {
  custom: {
    50: '#cbb468',
    500: '#af9623',
    950: '#000000',
  },
}
SCSS
$custom: #af9623;
$custom-light: #cbb468;
$custom-dark: #000000;
JSON
{
  "hex": "#af9623",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 49.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67639,
    "c": 0.12876,
    "h": 95.9
  },
  "luminance": 0.31048
}

Semantic roles & 50–950 ramp

primary
#AF9623
secondary
#6678C7
accent
#5DEA3E
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9623

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

Preview Lab → · Contrast checker → · Palette generator →

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