#AF9423#AF9423

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

Color values

HEX#AF9423
RGBrgb(175, 148, 35)
HSLhsl(48, 67%, 41%)
HSVhsv(48, 80%, 69%)
CMYKcmyk(0%, 15.4%, 80%, 31.4%)
CIE-LABlab(62.01, -1.31, 58.58)
CIE-LCHlch(62.01, 58.60, 91.28°)
OKLaboklab(67.21% -0.0103 0.127)
OKLCHoklch(67.21% 0.127 94.6)
XYZxyz(28.5741, 30.4168, 5.9558)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9423 #233EAF
analogous
#AF4E23 #AF9423 #84AF23
triadic
#AF9423 #23AF94 #9423AF
tetradic
#AF9423 #23AF4E #233EAF #AF2384
square
#AF9423 #23AF4E #233EAF #AF2384
split-complementary
#AF9423 #2384AF #4E23AF
monochromatic
#493E0F #7C6919 #AF9423 #D7B838 #E1CB6B

Accessibility & contrast

On white

2.96
#AF9423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9423#FFFFFF#000000##000000
##AF94231.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49106
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#BE887F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9423;
/* rgb */ color: rgb(175, 148, 35);
/* oklch */ color: oklch(67.2% 0.127 94.6);
Tailwind
colors: {
  custom: {
    50: '#cbb368',
    500: '#af9423',
    950: '#000000',
  },
}
SCSS
$custom: #af9423;
$custom-light: #cbb368;
$custom-dark: #000000;
JSON
{
  "hex": "#af9423",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 48.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67214,
    "c": 0.12744,
    "h": 94.6
  },
  "luminance": 0.30415
}

Semantic roles & 50–950 ramp

primary
#AF9423
secondary
#6679C7
accent
#5FEA3E
background
#FDFAF6
surface
#FAF5EB
border
#D3CFC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9423

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

Preview Lab → · Contrast checker → · Palette generator →

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