#AFA44A#AFA44A

#AFA44A is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.0% C 0.112 H 102.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AFA44A
RGBrgb(175, 164, 74)
HSLhsl(53, 41%, 49%)
HSVhsv(53, 58%, 69%)
CMYKcmyk(0%, 6.3%, 57.7%, 31.4%)
CIE-LABlab(66.64, -7.69, 47.24)
CIE-LCHlch(66.64, 47.86, 99.24°)
OKLaboklab(70.98% -0.0241 0.1096)
OKLCHoklch(70.98% 0.112 102.4)
XYZxyz(32.1918, 36.1605, 11.7612)
Luminance0.3616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA44A #4A55AF
analogous
#AF724A #AFA44A #88AF4A
triadic
#AFA44A #4AAFA4 #A44AAF
tetradic
#AFA44A #4AAF72 #4A55AF #AF4A88
square
#AFA44A #4AAF72 #4A55AF #AF4A88
split-complementary
#AFA44A #4A88AF #724AAF
monochromatic
#595326 #847C38 #AFA44A #C4BB73 #D6D09E

Accessibility & contrast

On white

2.55
#AFA44A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AFA44A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA44A
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA44A#FFFFFF#000000##000000
##AFA44A1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F41
Deuteranopia (green-blind)
#B5A44F
Tritanopia (blue-blind)
#BB9A90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa44a;
/* rgb */ color: rgb(175, 164, 74);
/* oklch */ color: oklch(71.0% 0.112 102.4);
Tailwind
colors: {
  custom: {
    50: '#c9be80',
    500: '#afa44a',
    950: '#000000',
  },
}
SCSS
$custom: #afa44a;
$custom-light: #c9be80;
$custom-dark: #000000;
JSON
{
  "hex": "#afa44a",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 74
  },
  "hsl": {
    "h": 53.465,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70979,
    "c": 0.11221,
    "h": 102.4
  },
  "luminance": 0.36159
}

Semantic roles & 50–950 ramp

primary
#AFA44A
secondary
#9298C2
accent
#65D057
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA44A

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

Preview Lab → · Contrast checker → · Palette generator →

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