#AF9E5E#AF9E5E

#AF9E5E is a light, moderate yellow. Relative luminance 0.344; OKLCH L 70.0% C 0.086 H 95.0°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#AF9E5E
RGBrgb(175, 158, 94)
HSLhsl(47, 34%, 53%)
HSVhsv(47, 46%, 69%)
CMYKcmyk(0%, 9.7%, 46.3%, 31.4%)
CIE-LABlab(65.26, -2.69, 35.58)
CIE-LCHlch(65.26, 35.68, 94.32°)
OKLaboklab(69.96% -0.0075 0.0859)
OKLCHoklch(69.96% 0.086 95)
XYZxyz(31.9273, 34.3770, 15.5412)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E5E #5E6FAF
analogous
#AF755E #AF9E5E #98AF5E
triadic
#AF9E5E #5EAF9E #9E5EAF
tetradic
#AF9E5E #5EAF75 #5E6FAF #AF5E98
square
#AF9E5E #5EAF75 #5E6FAF #AF5E98
split-complementary
#AF9E5E #5E98AF #755EAF
monochromatic
#625831 #8B7C45 #AF9E5E #C3B787 #D8CFB0

Accessibility & contrast

On white

2.67
#AF9E5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#AF9E5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E5E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E5E#FFFFFF#000000##000000
##AF9E5E1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B59
Deuteranopia (green-blind)
#AFA160
Tritanopia (blue-blind)
#BA958E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #af9e5e;
/* rgb */ color: rgb(175, 158, 94);
/* oklch */ color: oklch(70.0% 0.086 95.0);
Tailwind
colors: {
  custom: {
    50: '#c8ba8d',
    500: '#af9e5e',
    950: '#000000',
  },
}
SCSS
$custom: #af9e5e;
$custom-light: #c8ba8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e5e",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 94
  },
  "hsl": {
    "h": 47.407,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.69963,
    "c": 0.08623,
    "h": 95
  },
  "luminance": 0.34376
}

Semantic roles & 50–950 ramp

primary
#AF9E5E
secondary
#A3AAC6
accent
#75CA5E
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AF9E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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