#AFA441#AFA441

#AFA441 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.9% C 0.120 H 103.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#AFA441
RGBrgb(175, 164, 65)
HSLhsl(54, 46%, 47%)
HSVhsv(54, 63%, 69%)
CMYKcmyk(0%, 6.3%, 62.9%, 31.4%)
CIE-LABlab(66.56, -8.34, 51.28)
CIE-LCHlch(66.56, 51.95, 99.24°)
OKLaboklab(70.88% -0.027 0.117)
OKLCHoklch(70.88% 0.12 103)
XYZxyz(31.9100, 36.0478, 10.2771)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA441 #414CAF
analogous
#AF6D41 #AFA441 #83AF41
triadic
#AFA441 #41AFA4 #A441AF
tetradic
#AFA441 #41AF6D #414CAF #AF4183
square
#AFA441 #41AF6D #414CAF #AF4183
split-complementary
#AFA441 #4183AF #6D41AF
monochromatic
#565020 #827A30 #AFA441 #C6BD67 #D7D093

Accessibility & contrast

On white

2.56
#AFA441 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#AFA441 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA441
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA441#FFFFFF#000000##000000
##AFA4411.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F35
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#BC998F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa441;
/* rgb */ color: rgb(175, 164, 65);
/* oklch */ color: oklch(70.9% 0.120 103.0);
Tailwind
colors: {
  custom: {
    50: '#cabe7a',
    500: '#afa441',
    950: '#000000',
  },
}
SCSS
$custom: #afa441;
$custom-light: #cabe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa441",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 65
  },
  "hsl": {
    "h": 54,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70883,
    "c": 0.12008,
    "h": 103
  },
  "luminance": 0.36047
}

Semantic roles & 50–950 ramp

primary
#AFA441
secondary
#898FC2
accent
#5FD552
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA441

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

Preview Lab → · Contrast checker → · Palette generator →

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