#AF984E#AF984E

#AF984E is a light, moderate yellow. Relative luminance 0.321; OKLCH L 68.5% C 0.098 H 92.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AF984E
RGBrgb(175, 152, 78)
HSLhsl(46, 38%, 50%)
HSVhsv(46, 55%, 69%)
CMYKcmyk(0%, 13.1%, 55.4%, 31.4%)
CIE-LABlab(63.44, -0.93, 41.59)
CIE-LCHlch(63.44, 41.60, 91.28°)
OKLaboklab(68.46% -0.0041 0.0979)
OKLCHoklch(68.46% 0.098 92.4)
XYZxyz(30.2838, 32.1219, 11.8112)
Luminance0.3212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF984E #4E65AF
analogous
#AF674E #AF984E #96AF4E
triadic
#AF984E #4EAF98 #984EAF
tetradic
#AF984E #4EAF67 #4E65AF #AF4E96
square
#AF984E #4EAF67 #4E65AF #AF4E96
split-complementary
#AF984E #4E96AF #674EAF
monochromatic
#5A4E28 #85733B #AF984E #C3B178 #D6C9A2

Accessibility & contrast

On white

2.83
#AF984E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AF984E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF984E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF984E#FFFFFF#000000##000000
##AF984E1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69647
Deuteranopia (green-blind)
#AC9D51
Tritanopia (blue-blind)
#BC8E87
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af984e;
/* rgb */ color: rgb(175, 152, 78);
/* oklch */ color: oklch(68.5% 0.098 92.4);
Tailwind
colors: {
  custom: {
    50: '#c9b682',
    500: '#af984e',
    950: '#000000',
  },
}
SCSS
$custom: #af984e;
$custom-light: #c9b682;
$custom-dark: #000000;
JSON
{
  "hex": "#af984e",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 78
  },
  "hsl": {
    "h": 45.773,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.6846,
    "c": 0.09794,
    "h": 92.4
  },
  "luminance": 0.3212
}

Semantic roles & 50–950 ramp

primary
#AF984E
secondary
#96A1C3
accent
#75CE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF984E

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

Preview Lab → · Contrast checker → · Palette generator →

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