#AF9E64#AF9E64

#AF9E64 is a light, moderate yellow. Relative luminance 0.345; OKLCH L 70.1% C 0.080 H 93.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AF9E64
RGBrgb(175, 158, 100)
HSLhsl(46, 32%, 54%)
HSVhsv(46, 43%, 69%)
CMYKcmyk(0%, 9.7%, 42.9%, 31.4%)
CIE-LABlab(65.35, -2.06, 32.53)
CIE-LCHlch(65.35, 32.60, 93.62°)
OKLaboklab(70.06% -0.0051 0.0794)
OKLCHoklch(70.06% 0.08 93.6)
XYZxyz(32.2071, 34.4890, 17.0146)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E64 #6475AF
analogous
#AF7964 #AF9E64 #9BAF64
triadic
#AF9E64 #64AF9E #9E64AF
tetradic
#AF9E64 #64AF79 #6475AF #AF649B
square
#AF9E64 #64AF79 #6475AF #AF649B
split-complementary
#AF9E64 #649BAF #7964AF
monochromatic
#655A34 #8D7E49 #AF9E64 #C4B78C #D9D1B5

Accessibility & contrast

On white

2.66
#AF9E64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AF9E64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E64
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E64#FFFFFF#000000##000000
##AF9E641.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99C60
Deuteranopia (green-blind)
#AEA166
Tritanopia (blue-blind)
#BA9690
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af9e64;
/* rgb */ color: rgb(175, 158, 100);
/* oklch */ color: oklch(70.1% 0.080 93.6);
Tailwind
colors: {
  custom: {
    50: '#c8ba91',
    500: '#af9e64',
    950: '#000000',
  },
}
SCSS
$custom: #af9e64;
$custom-light: #c8ba91;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e64",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 100
  },
  "hsl": {
    "h": 46.4,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70061,
    "c": 0.07952,
    "h": 93.6
  },
  "luminance": 0.34488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9E64

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

Preview Lab → · Contrast checker → · Palette generator →

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