#AF984D#AF984D

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

Color values

HEX#AF984D
RGBrgb(175, 152, 77)
HSLhsl(46, 39%, 49%)
HSVhsv(46, 56%, 69%)
CMYKcmyk(0%, 13.1%, 56%, 31.4%)
CIE-LABlab(63.43, -1.01, 42.07)
CIE-LCHlch(63.43, 42.09, 91.37°)
OKLaboklab(68.45% -0.0045 0.0988)
OKLCHoklch(68.45% 0.099 92.6)
XYZxyz(30.2482, 32.1077, 11.6239)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF984D #4D64AF
analogous
#AF674D #AF984D #95AF4D
triadic
#AF984D #4DAF98 #984DAF
tetradic
#AF984D #4DAF67 #4D64AF #AF4D95
square
#AF984D #4DAF67 #4D64AF #AF4D95
split-complementary
#AF984D #4D95AF #674DAF
monochromatic
#5A4E28 #85733A #AF984D #C3B176 #D6C9A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF984D#FFFFFF#000000##000000
##AF984D1.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)
#A69646
Deuteranopia (green-blind)
#AC9C50
Tritanopia (blue-blind)
#BC8E87
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af984d;
/* rgb */ color: rgb(175, 152, 77);
/* oklch */ color: oklch(68.4% 0.099 92.6);
Tailwind
colors: {
  custom: {
    50: '#c9b681',
    500: '#af984d',
    950: '#000000',
  },
}
SCSS
$custom: #af984d;
$custom-light: #c9b681;
$custom-dark: #000000;
JSON
{
  "hex": "#af984d",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 77
  },
  "hsl": {
    "h": 45.918,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.68447,
    "c": 0.0989,
    "h": 92.6
  },
  "luminance": 0.32106
}

Semantic roles & 50–950 ramp

primary
#AF984D
secondary
#95A0C3
accent
#75CF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF984D

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

Preview Lab → · Contrast checker → · Palette generator →

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