#AF9E5A#AF9E5A

#AF9E5A is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.9% C 0.091 H 95.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#AF9E5A
RGBrgb(175, 158, 90)
HSLhsl(48, 35%, 52%)
HSVhsv(48, 49%, 69%)
CMYKcmyk(0%, 9.7%, 48.6%, 31.4%)
CIE-LABlab(65.21, -3.09, 37.60)
CIE-LCHlch(65.21, 37.72, 94.70°)
OKLaboklab(69.9% -0.009 0.0901)
OKLCHoklch(69.9% 0.091 95.7)
XYZxyz(31.7525, 34.3071, 14.6202)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9E5A #5A6BAF
analogous
#AF745A #AF9E5A #96AF5A
triadic
#AF9E5A #5AAF9E #9E5AAF
tetradic
#AF9E5A #5AAF74 #5A6BAF #AF5A96
square
#AF9E5A #5AAF74 #5A6BAF #AF5A96
split-complementary
#AF9E5A #5A96AF #745AAF
monochromatic
#60562F #897B43 #AF9E5A #C3B683 #D7CEAC

Accessibility & contrast

On white

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

On black

7.86
#AF9E5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9E5A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9E5A#FFFFFF#000000##000000
##AF9E5A1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af9e5a;
/* rgb */ color: rgb(175, 158, 90);
/* oklch */ color: oklch(69.9% 0.091 95.7);
Tailwind
colors: {
  custom: {
    50: '#c9ba8a',
    500: '#af9e5a',
    950: '#000000',
  },
}
SCSS
$custom: #af9e5a;
$custom-light: #c9ba8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9e5a",
  "rgb": {
    "r": 175,
    "g": 158,
    "b": 90
  },
  "hsl": {
    "h": 48,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.69901,
    "c": 0.09058,
    "h": 95.7
  },
  "luminance": 0.34306
}

Semantic roles & 50–950 ramp

primary
#AF9E5A
secondary
#A0A7C5
accent
#73CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AF9E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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