#AFA44C#AFA44C

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

Color values

HEX#AFA44C
RGBrgb(175, 164, 76)
HSLhsl(53, 39%, 49%)
HSVhsv(53, 57%, 69%)
CMYKcmyk(0%, 6.3%, 56.6%, 31.4%)
CIE-LABlab(66.66, -7.53, 46.31)
CIE-LCHlch(66.66, 46.92, 99.24°)
OKLaboklab(71% -0.0234 0.1079)
OKLCHoklch(71% 0.11 102.2)
XYZxyz(32.2602, 36.1879, 12.1217)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA44C #4C57AF
analogous
#AF734C #AFA44C #89AF4C
triadic
#AFA44C #4CAFA4 #A44CAF
tetradic
#AFA44C #4CAF73 #4C57AF #AF4C89
square
#AFA44C #4CAF73 #4C57AF #AF4C89
split-complementary
#AFA44C #4C89AF #734CAF
monochromatic
#5A5427 #847C39 #AFA44C #C3BA75 #D6D0A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA44C#FFFFFF#000000##000000
##AFA44C1.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)
#B19F43
Deuteranopia (green-blind)
#B5A450
Tritanopia (blue-blind)
#BB9A90
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa44c;
/* rgb */ color: rgb(175, 164, 76);
/* oklch */ color: oklch(71.0% 0.110 102.2);
Tailwind
colors: {
  custom: {
    50: '#c9be81',
    500: '#afa44c',
    950: '#000000',
  },
}
SCSS
$custom: #afa44c;
$custom-light: #c9be81;
$custom-dark: #000000;
JSON
{
  "hex": "#afa44c",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 76
  },
  "hsl": {
    "h": 53.333,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71002,
    "c": 0.11036,
    "h": 102.2
  },
  "luminance": 0.36187
}

Semantic roles & 50–950 ramp

primary
#AFA44C
secondary
#9499C2
accent
#66CF58
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA44C

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

Preview Lab → · Contrast checker → · Palette generator →

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