#AFB587#AFB587

#AFB587 is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.7% C 0.063 H 114.0°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#AFB587
RGBrgb(175, 181, 135)
HSLhsl(68, 24%, 62%)
HSVhsv(68, 25%, 71%)
CMYKcmyk(3.3%, 0%, 25.4%, 29%)
CIE-LABlab(72.17, -9.85, 22.81)
CIE-LCHlch(72.17, 24.84, 113.35°)
OKLaboklab(75.66% -0.0256 0.0576)
OKLCHoklch(75.66% 0.063 114)
XYZxyz(38.5760, 43.9113, 29.3605)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB587 #8D87B5
analogous
#B5A487 #AFB587 #98B587
triadic
#AFB587 #87AFB5 #B587AF
tetradic
#AFB587 #87B5A4 #8D87B5 #B58798
square
#AFB587 #87B5A4 #8D87B5 #B58798
split-complementary
#AFB587 #8798B5 #A487B5
monochromatic
#72784A #969E61 #AFB587 #C8CCAD #E1E4D3

Accessibility & contrast

On white

2.15
#AFB587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#AFB587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB587
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB587#FFFFFF#000000##000000
##AFB5871.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCB084
Deuteranopia (green-blind)
#BCB189
Tritanopia (blue-blind)
#B5B0A9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afb587;
/* rgb */ color: rgb(175, 181, 135);
/* oklch */ color: oklch(75.7% 0.063 114.0);
Tailwind
colors: {
  custom: {
    50: '#c7cbaa',
    500: '#afb587',
    950: '#000000',
  },
}
SCSS
$custom: #afb587;
$custom-light: #c7cbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afb587",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 135
  },
  "hsl": {
    "h": 67.826,
    "s": 23.711,
    "l": 61.961
  },
  "oklch": {
    "l": 0.75658,
    "c": 0.06304,
    "h": 114
  },
  "luminance": 0.43911
}

Semantic roles & 50–950 ramp

primary
#AFB587
secondary
#C6C3D4
accent
#43A250
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFB587

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

Preview Lab → · Contrast checker → · Palette generator →

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