#AF9028#AF9028

#AF9028 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.4% C 0.122 H 91.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AF9028
RGBrgb(175, 144, 40)
HSLhsl(46, 63%, 42%)
HSVhsv(46, 77%, 69%)
CMYKcmyk(0%, 17.7%, 77.1%, 31.4%)
CIE-LABlab(60.97, 1.07, 55.89)
CIE-LCHlch(60.97, 55.90, 88.91°)
OKLaboklab(66.4% -0.003 0.1223)
OKLCHoklch(66.4% 0.122 91.4)
XYZxyz(28.0371, 29.2154, 6.1695)
Luminance0.2921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9028 #2847AF
analogous
#AF4C28 #AF9028 #8BAF28
triadic
#AF9028 #28AF90 #9028AF
tetradic
#AF9028 #28AF4C #2847AF #AF288B
square
#AF9028 #28AF4C #2847AF #AF288B
split-complementary
#AF9028 #288BAF #4C28AF
monochromatic
#4B3E11 #7D671D #AF9028 #D4B241 #DFC673

Accessibility & contrast

On white

3.07
#AF9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#AF9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF9028
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9028#FFFFFF#000000##000000
##AF90281.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E14
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#BE847C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #af9028;
/* rgb */ color: rgb(175, 144, 40);
/* oklch */ color: oklch(66.4% 0.122 91.4);
Tailwind
colors: {
  custom: {
    50: '#cbb06a',
    500: '#af9028',
    950: '#000000',
  },
}
SCSS
$custom: #af9028;
$custom-light: #cbb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9028",
  "rgb": {
    "r": 175,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 46.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66401,
    "c": 0.12235,
    "h": 91.4
  },
  "luminance": 0.29214
}

Semantic roles & 50–950 ramp

primary
#AF9028
secondary
#6D81C6
accent
#68E642
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF9028

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

Preview Lab → · Contrast checker → · Palette generator →

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