#AFA94C#AFA94C

#AFA94C is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.115 H 105.5°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#AFA94C
RGBrgb(175, 169, 76)
HSLhsl(56, 39%, 49%)
HSVhsv(56, 57%, 69%)
CMYKcmyk(0%, 3.4%, 56.6%, 31.4%)
CIE-LABlab(68.03, -10.16, 47.87)
CIE-LCHlch(68.03, 48.94, 101.99°)
OKLaboklab(72.09% -0.0309 0.1112)
OKLCHoklch(72.09% 0.115 105.5)
XYZxyz(33.1727, 38.0127, 12.4259)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA94C #4C52AF
analogous
#AF784C #AFA94C #84AF4C
triadic
#AFA94C #4CAFA9 #A94CAF
tetradic
#AFA94C #4CAF78 #4C52AF #AF4C84
square
#AFA94C #4CAF78 #4C52AF #AF4C84
split-complementary
#AFA94C #4C84AF #784CAF
monochromatic
#5A5727 #848039 #AFA94C #C3BE75 #D6D2A0

Accessibility & contrast

On white

2.44
#AFA94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#AFA94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA94C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA94C#FFFFFF#000000##000000
##AFA94C1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A342
Deuteranopia (green-blind)
#B9A851
Tritanopia (blue-blind)
#BB9F94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa94c;
/* rgb */ color: rgb(175, 169, 76);
/* oklch */ color: oklch(72.1% 0.115 105.5);
Tailwind
colors: {
  custom: {
    50: '#c9c281',
    500: '#afa94c',
    950: '#000000',
  },
}
SCSS
$custom: #afa94c;
$custom-light: #c9c281;
$custom-dark: #000000;
JSON
{
  "hex": "#afa94c",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 76
  },
  "hsl": {
    "h": 56.364,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72088,
    "c": 0.11541,
    "h": 105.5
  },
  "luminance": 0.38012
}

Semantic roles & 50–950 ramp

primary
#AFA94C
secondary
#9497C2
accent
#60CF58
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA94C

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

Preview Lab → · Contrast checker → · Palette generator →

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