#AF9D64#AF9D64

#AF9D64 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.8% C 0.079 H 92.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#AF9D64
RGBrgb(175, 157, 100)
HSLhsl(46, 32%, 54%)
HSVhsv(46, 43%, 69%)
CMYKcmyk(0%, 10.3%, 42.9%, 31.4%)
CIE-LABlab(65.08, -1.52, 32.19)
CIE-LCHlch(65.08, 32.22, 92.70°)
OKLaboklab(69.85% -0.0035 0.0786)
OKLCHoklch(69.85% 0.079 92.5)
XYZxyz(32.0372, 34.1492, 16.9580)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D64 #6476AF
analogous
#AF7864 #AF9D64 #9CAF64
triadic
#AF9D64 #64AF9D #9D64AF
tetradic
#AF9D64 #64AF78 #6476AF #AF649C
square
#AF9D64 #64AF78 #6476AF #AF649C
split-complementary
#AF9D64 #649CAF #7864AF
monochromatic
#655934 #8D7D49 #AF9D64 #C4B78C #D9D0B5

Accessibility & contrast

On white

2.68
#AF9D64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#AF9D64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D64
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D64#FFFFFF#000000##000000
##AF9D641.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89B60
Deuteranopia (green-blind)
#ADA066
Tritanopia (blue-blind)
#BA958F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9d64;
/* rgb */ color: rgb(175, 157, 100);
/* oklch */ color: oklch(69.8% 0.079 92.5);
Tailwind
colors: {
  custom: {
    50: '#c8b991',
    500: '#af9d64',
    950: '#000000',
  },
}
SCSS
$custom: #af9d64;
$custom-light: #c8b991;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d64",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 100
  },
  "hsl": {
    "h": 45.6,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6985,
    "c": 0.07866,
    "h": 92.5
  },
  "luminance": 0.34148
}

Semantic roles & 50–950 ramp

primary
#AF9D64
secondary
#A7AFC7
accent
#79C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110D
muted
#82807D

Preview Lab

Preview with #AF9D64

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

Preview Lab → · Contrast checker → · Palette generator →

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