#AFA44D#AFA44D

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

Color values

HEX#AFA44D
RGBrgb(175, 164, 77)
HSLhsl(53, 39%, 49%)
HSVhsv(53, 56%, 69%)
CMYKcmyk(0%, 6.3%, 56%, 31.4%)
CIE-LABlab(66.67, -7.45, 45.84)
CIE-LCHlch(66.67, 46.44, 99.23°)
OKLaboklab(71.01% -0.023 0.107)
OKLCHoklch(71.01% 0.109 102.2)
XYZxyz(32.2953, 36.2019, 12.3062)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA44D #4D58AF
analogous
#AF734D #AFA44D #89AF4D
triadic
#AFA44D #4DAFA4 #A44DAF
tetradic
#AFA44D #4DAF73 #4D58AF #AF4D89
square
#AFA44D #4DAF73 #4D58AF #AF4D89
split-complementary
#AFA44D #4D89AF #734DAF
monochromatic
#5A5428 #857C3A #AFA44D #C3BA76 #D6D0A1

Accessibility & contrast

On white

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

On black

8.24
#AFA44D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA44D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA44D#FFFFFF#000000##000000
##AFA44D1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F44
Deuteranopia (green-blind)
#B5A451
Tritanopia (blue-blind)
#BB9A91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa44d;
/* rgb */ color: rgb(175, 164, 77);
/* oklch */ color: oklch(71.0% 0.109 102.2);
Tailwind
colors: {
  custom: {
    50: '#c9be82',
    500: '#afa44d',
    950: '#000000',
  },
}
SCSS
$custom: #afa44d;
$custom-light: #c9be82;
$custom-dark: #000000;
JSON
{
  "hex": "#afa44d",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 77
  },
  "hsl": {
    "h": 53.265,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71014,
    "c": 0.10941,
    "h": 102.2
  },
  "luminance": 0.36201
}

Semantic roles & 50–950 ramp

primary
#AFA44D
secondary
#959AC3
accent
#66CF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA44D

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

Preview Lab → · Contrast checker → · Palette generator →

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