#AF9C5A#AF9C5A

#AF9C5A is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.5% C 0.089 H 93.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AF9C5A
RGBrgb(175, 156, 90)
HSLhsl(47, 35%, 52%)
HSVhsv(47, 49%, 69%)
CMYKcmyk(0%, 10.9%, 48.6%, 31.4%)
CIE-LABlab(64.67, -2.01, 36.93)
CIE-LCHlch(64.67, 36.99, 93.11°)
OKLaboklab(69.48% -0.0059 0.0887)
OKLCHoklch(69.48% 0.089 93.8)
XYZxyz(31.4141, 33.6304, 14.5075)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9C5A #5A6DAF
analogous
#AF725A #AF9C5A #98AF5A
triadic
#AF9C5A #5AAF9C #9C5AAF
tetradic
#AF9C5A #5AAF72 #5A6DAF #AF5A98
square
#AF9C5A #5AAF72 #5A6DAF #AF5A98
split-complementary
#AF9C5A #5A98AF #725AAF
monochromatic
#60552F #897943 #AF9C5A #C3B583 #D7CDAC

Accessibility & contrast

On white

2.72
#AF9C5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AF9C5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9C5A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9C5A#FFFFFF#000000##000000
##AF9C5A1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99955
Deuteranopia (green-blind)
#AD9F5D
Tritanopia (blue-blind)
#BB938C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9c5a;
/* rgb */ color: rgb(175, 156, 90);
/* oklch */ color: oklch(69.5% 0.089 93.8);
Tailwind
colors: {
  custom: {
    50: '#c9b98a',
    500: '#af9c5a',
    950: '#000000',
  },
}
SCSS
$custom: #af9c5a;
$custom-light: #c9b98a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9c5a",
  "rgb": {
    "r": 175,
    "g": 156,
    "b": 90
  },
  "hsl": {
    "h": 46.588,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.69477,
    "c": 0.08885,
    "h": 93.8
  },
  "luminance": 0.33629
}

Semantic roles & 50–950 ramp

primary
#AF9C5A
secondary
#A0A8C5
accent
#76CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AF9C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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