#AF984B#AF984B

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

Color values

HEX#AF984B
RGBrgb(175, 152, 75)
HSLhsl(46, 40%, 49%)
HSVhsv(46, 57%, 69%)
CMYKcmyk(0%, 13.1%, 57.1%, 31.4%)
CIE-LABlab(63.41, -1.17, 43.04)
CIE-LCHlch(63.41, 43.06, 91.56°)
OKLaboklab(68.42% -0.0052 0.1007)
OKLCHoklch(68.42% 0.101 93)
XYZxyz(30.1787, 32.0799, 11.2577)
Luminance0.3208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF984B #4B62AF
analogous
#AF664B #AF984B #94AF4B
triadic
#AF984B #4BAF98 #984BAF
tetradic
#AF984B #4BAF66 #4B62AF #AF4B94
square
#AF984B #4BAF66 #4B62AF #AF4B94
split-complementary
#AF984B #4B94AF #664BAF
monochromatic
#594E26 #847339 #AF984B #C3B174 #D6C99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF984B#FFFFFF#000000##000000
##AF984B1.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)
#A69644
Deuteranopia (green-blind)
#AC9C4E
Tritanopia (blue-blind)
#BC8E87
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af984b;
/* rgb */ color: rgb(175, 152, 75);
/* oklch */ color: oklch(68.4% 0.101 93.0);
Tailwind
colors: {
  custom: {
    50: '#c9b680',
    500: '#af984b',
    950: '#000000',
  },
}
SCSS
$custom: #af984b;
$custom-light: #c9b680;
$custom-dark: #000000;
JSON
{
  "hex": "#af984b",
  "rgb": {
    "r": 175,
    "g": 152,
    "b": 75
  },
  "hsl": {
    "h": 46.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.68422,
    "c": 0.10081,
    "h": 93
  },
  "luminance": 0.32078
}

Semantic roles & 50–950 ramp

primary
#AF984B
secondary
#939EC2
accent
#74D058
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF984B

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

Preview Lab → · Contrast checker → · Palette generator →

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