#AF9428#AF9428

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

Color values

HEX#AF9428
RGBrgb(175, 148, 40)
HSLhsl(48, 63%, 42%)
HSVhsv(48, 77%, 69%)
CMYKcmyk(0%, 15.4%, 77.1%, 31.4%)
CIE-LABlab(62.04, -1.11, 56.89)
CIE-LCHlch(62.04, 56.90, 91.12°)
OKLaboklab(67.24% -0.0092 0.1244)
OKLCHoklch(67.24% 0.125 94.2)
XYZxyz(28.6537, 30.4486, 6.3750)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9428 #2843AF
analogous
#AF5128 #AF9428 #87AF28
triadic
#AF9428 #28AF94 #9428AF
tetradic
#AF9428 #28AF51 #2843AF #AF2887
square
#AF9428 #28AF51 #2843AF #AF2887
split-complementary
#AF9428 #2887AF #5128AF
monochromatic
#4B4011 #7D6A1D #AF9428 #D4B641 #DFC973

Accessibility & contrast

On white

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

On black

7.09
#AF9428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9428
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9428#FFFFFF#000000##000000
##AF94281.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49113
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#BD887F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #af9428;
/* rgb */ color: rgb(175, 148, 40);
/* oklch */ color: oklch(67.2% 0.125 94.2);
Tailwind
colors: {
  custom: {
    50: '#cbb36b',
    500: '#af9428',
    950: '#000000',
  },
}
SCSS
$custom: #af9428;
$custom-light: #cbb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#af9428",
  "rgb": {
    "r": 175,
    "g": 148,
    "b": 40
  },
  "hsl": {
    "h": 48,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67244,
    "c": 0.12478,
    "h": 94.2
  },
  "luminance": 0.30447
}

Semantic roles & 50–950 ramp

primary
#AF9428
secondary
#6D7FC6
accent
#63E642
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9428

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

Preview Lab → · Contrast checker → · Palette generator →

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