#AF9B59#AF9B59

#AF9B59 is a light, moderate yellow. Relative luminance 0.333; OKLCH L 69.3% C 0.089 H 93.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AF9B59
RGBrgb(175, 155, 89)
HSLhsl(46, 35%, 52%)
HSVhsv(46, 49%, 69%)
CMYKcmyk(0%, 11.4%, 49.1%, 31.4%)
CIE-LABlab(64.39, -1.56, 37.10)
CIE-LCHlch(64.39, 37.14, 92.41°)
OKLaboklab(69.25% -0.0047 0.089)
OKLCHoklch(69.25% 0.089 93)
XYZxyz(31.2047, 33.2792, 14.2291)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9B59 #596DAF
analogous
#AF7059 #AF9B59 #98AF59
triadic
#AF9B59 #59AF9B #9B59AF
tetradic
#AF9B59 #59AF70 #596DAF #AF5998
square
#AF9B59 #59AF70 #596DAF #AF5998
split-complementary
#AF9B59 #5998AF #7059AF
monochromatic
#60542E #897842 #AF9B59 #C3B482 #D7CDAC

Accessibility & contrast

On white

2.74
#AF9B59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AF9B59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9B59
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9B59#FFFFFF#000000##000000
##AF9B591.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89954
Deuteranopia (green-blind)
#AD9F5B
Tritanopia (blue-blind)
#BB928B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9b59;
/* rgb */ color: rgb(175, 155, 89);
/* oklch */ color: oklch(69.3% 0.089 93.0);
Tailwind
colors: {
  custom: {
    50: '#c9b889',
    500: '#af9b59',
    950: '#000000',
  },
}
SCSS
$custom: #af9b59;
$custom-light: #c9b889;
$custom-dark: #000000;
JSON
{
  "hex": "#af9b59",
  "rgb": {
    "r": 175,
    "g": 155,
    "b": 89
  },
  "hsl": {
    "h": 46.047,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6925,
    "c": 0.08908,
    "h": 93
  },
  "luminance": 0.33278
}

Semantic roles & 50–950 ramp

primary
#AF9B59
secondary
#9FA8C5
accent
#76CB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110B
muted
#82807C

Preview Lab

Preview with #AF9B59

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

Preview Lab → · Contrast checker → · Palette generator →

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