#AFA94D#AFA94D

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

Color values

HEX#AFA94D
RGBrgb(175, 169, 77)
HSLhsl(56, 39%, 49%)
HSVhsv(56, 56%, 69%)
CMYKcmyk(0%, 3.4%, 56%, 31.4%)
CIE-LABlab(68.04, -10.09, 47.41)
CIE-LCHlch(68.04, 48.47, 102.01°)
OKLaboklab(72.1% -0.0306 0.1103)
OKLCHoklch(72.1% 0.114 105.5)
XYZxyz(33.2077, 38.0268, 12.6104)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA94D #4D53AF
analogous
#AF784D #AFA94D #84AF4D
triadic
#AFA94D #4DAFA9 #A94DAF
tetradic
#AFA94D #4DAF78 #4D53AF #AF4D84
square
#AFA94D #4DAF78 #4D53AF #AF4D84
split-complementary
#AFA94D #4D84AF #784DAF
monochromatic
#5A5728 #85803A #AFA94D #C3BE76 #D6D2A1

Accessibility & contrast

On white

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

On black

8.61
#AFA94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA94D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA94D#FFFFFF#000000##000000
##AFA94D1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A344
Deuteranopia (green-blind)
#B8A852
Tritanopia (blue-blind)
#BB9F95
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa94d;
/* rgb */ color: rgb(175, 169, 77);
/* oklch */ color: oklch(72.1% 0.114 105.5);
Tailwind
colors: {
  custom: {
    50: '#c9c282',
    500: '#afa94d',
    950: '#000000',
  },
}
SCSS
$custom: #afa94d;
$custom-light: #c9c282;
$custom-dark: #000000;
JSON
{
  "hex": "#afa94d",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 77
  },
  "hsl": {
    "h": 56.327,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.721,
    "c": 0.11448,
    "h": 105.5
  },
  "luminance": 0.38026
}

Semantic roles & 50–950 ramp

primary
#AFA94D
secondary
#9598C3
accent
#60CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA94D

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

Preview Lab → · Contrast checker → · Palette generator →

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