#AF984C#AF984C

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

Color values

HEX#AF984C
RGBrgb(175, 152, 76)
HSLhsl(46, 39%, 49%)
HSVhsv(46, 57%, 69%)
CMYKcmyk(0%, 13.1%, 56.6%, 31.4%)
CIE-LABlab(63.42, -1.09, 42.56)
CIE-LCHlch(63.42, 42.57, 91.47°)
OKLaboklab(68.43% -0.0048 0.0997)
OKLCHoklch(68.43% 0.1 92.8)
XYZxyz(30.2132, 32.0937, 11.4393)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF984C #4C63AF
analogous
#AF674C #AF984C #95AF4C
triadic
#AF984C #4CAF98 #984CAF
tetradic
#AF984C #4CAF67 #4C63AF #AF4C95
square
#AF984C #4CAF67 #4C63AF #AF4C95
split-complementary
#AF984C #4C95AF #674CAF
monochromatic
#5A4E27 #847339 #AF984C #C3B175 #D6C9A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF984C#FFFFFF#000000##000000
##AF984C1.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)
#A69645
Deuteranopia (green-blind)
#AC9C4F
Tritanopia (blue-blind)
#BC8E87
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af984c;
/* rgb */ color: rgb(175, 152, 76);
/* oklch */ color: oklch(68.4% 0.100 92.8);
Tailwind
colors: {
  custom: {
    50: '#c9b680',
    500: '#af984c',
    950: '#000000',
  },
}
SCSS
$custom: #af984c;
$custom-light: #c9b680;
$custom-dark: #000000;
JSON
{
  "hex": "#af984c",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 76
  },
  "hsl": {
    "h": 46.061,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.68434,
    "c": 0.09986,
    "h": 92.8
  },
  "luminance": 0.32092
}

Semantic roles & 50–950 ramp

primary
#AF984C
secondary
#949FC2
accent
#74CF58
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF984C

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

Preview Lab → · Contrast checker → · Palette generator →

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