#AF9F64#AF9F64

#AF9F64 is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.3% C 0.080 H 94.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AF9F64
RGBrgb(175, 159, 100)
HSLhsl(47, 32%, 54%)
HSVhsv(47, 43%, 69%)
CMYKcmyk(0%, 9.1%, 42.9%, 31.4%)
CIE-LABlab(65.62, -2.60, 32.87)
CIE-LCHlch(65.62, 32.98, 94.52°)
OKLaboklab(70.27% -0.0066 0.0801)
OKLCHoklch(70.27% 0.08 94.7)
XYZxyz(32.3784, 34.8315, 17.0717)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F64 #6474AF
analogous
#AF7A64 #AF9F64 #9AAF64
triadic
#AF9F64 #64AF9F #9F64AF
tetradic
#AF9F64 #64AF7A #6474AF #AF649A
square
#AF9F64 #64AF7A #6474AF #AF649A
split-complementary
#AF9F64 #649AAF #7A64AF
monochromatic
#655A34 #8D7E49 #AF9F64 #C4B88C #D9D1B5

Accessibility & contrast

On white

2.64
#AF9F64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AF9F64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F64
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F64#FFFFFF#000000##000000
##AF9F641.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C60
Deuteranopia (green-blind)
#AFA266
Tritanopia (blue-blind)
#BA9790
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af9f64;
/* rgb */ color: rgb(175, 159, 100);
/* oklch */ color: oklch(70.3% 0.080 94.7);
Tailwind
colors: {
  custom: {
    50: '#c8bb91',
    500: '#af9f64',
    950: '#000000',
  },
}
SCSS
$custom: #af9f64;
$custom-light: #c8bb91;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f64",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 100
  },
  "hsl": {
    "h": 47.2,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70273,
    "c": 0.08041,
    "h": 94.7
  },
  "luminance": 0.3483
}

Semantic roles & 50–950 ramp

primary
#AF9F64
secondary
#A7AEC7
accent
#76C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110D
muted
#82807D

Preview Lab

Preview with #AF9F64

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

Preview Lab → · Contrast checker → · Palette generator →

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