#AF9F5A#AF9F5A

#AF9F5A is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.1% C 0.091 H 96.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#AF9F5A
RGBrgb(175, 159, 90)
HSLhsl(49, 35%, 52%)
HSVhsv(49, 49%, 69%)
CMYKcmyk(0%, 9.1%, 48.6%, 31.4%)
CIE-LABlab(65.47, -3.63, 37.93)
CIE-LCHlch(65.47, 38.10, 95.46°)
OKLaboklab(70.12% -0.0106 0.0909)
OKLCHoklch(70.12% 0.091 96.6)
XYZxyz(31.9237, 34.6496, 14.6773)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9F5A #5A6AAF
analogous
#AF755A #AF9F5A #95AF5A
triadic
#AF9F5A #5AAF9F #9F5AAF
tetradic
#AF9F5A #5AAF75 #5A6AAF #AF5A95
square
#AF9F5A #5AAF75 #5A6AAF #AF5A95
split-complementary
#AF9F5A #5A95AF #755AAF
monochromatic
#60572F #897C43 #AF9F5A #C3B783 #D7CFAC

Accessibility & contrast

On white

2.65
#AF9F5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#AF9F5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9F5A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9F5A#FFFFFF#000000##000000
##AF9F5A1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C54
Deuteranopia (green-blind)
#B0A15D
Tritanopia (blue-blind)
#BA968F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #af9f5a;
/* rgb */ color: rgb(175, 159, 90);
/* oklch */ color: oklch(70.1% 0.091 96.6);
Tailwind
colors: {
  custom: {
    50: '#c9bb8a',
    500: '#af9f5a',
    950: '#000000',
  },
}
SCSS
$custom: #af9f5a;
$custom-light: #c9bb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af9f5a",
  "rgb": {
    "r": 175,
    "g": 159,
    "b": 90
  },
  "hsl": {
    "h": 48.706,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70115,
    "c": 0.09147,
    "h": 96.6
  },
  "luminance": 0.34648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF9F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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