#AFB487#AFB487

#AFB487 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.4% C 0.062 H 113.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#AFB487
RGBrgb(175, 180, 135)
HSLhsl(67, 23%, 62%)
HSVhsv(67, 25%, 71%)
CMYKcmyk(2.8%, 0%, 25%, 29.4%)
CIE-LABlab(71.90, -9.32, 22.44)
CIE-LCHlch(71.90, 24.30, 112.56°)
OKLaboklab(75.44% -0.0241 0.0567)
OKLCHoklch(75.44% 0.062 113)
XYZxyz(38.3734, 43.5061, 29.2930)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB487 #8C87B4
analogous
#B4A387 #AFB487 #99B487
triadic
#AFB487 #87AFB4 #B487AF
tetradic
#AFB487 #87B4A3 #8C87B4 #B48799
square
#AFB487 #87B4A3 #8C87B4 #B48799
split-complementary
#AFB487 #8799B4 #A387B4
monochromatic
#72774A #969C62 #AFB487 #C8CCAD #E1E3D2

Accessibility & contrast

On white

2.16
#AFB487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#AFB487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB487
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB487#FFFFFF#000000##000000
##AFB4871.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBB084
Deuteranopia (green-blind)
#BBB189
Tritanopia (blue-blind)
#B5AFA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb487;
/* rgb */ color: rgb(175, 180, 135);
/* oklch */ color: oklch(75.4% 0.062 113.0);
Tailwind
colors: {
  custom: {
    50: '#c7caaa',
    500: '#afb487',
    950: '#000000',
  },
}
SCSS
$custom: #afb487;
$custom-light: #c7caaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afb487",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 135
  },
  "hsl": {
    "h": 66.667,
    "s": 23.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.75442,
    "c": 0.06164,
    "h": 113
  },
  "luminance": 0.43506
}

Semantic roles & 50–950 ramp

primary
#AFB487
secondary
#C5C3D4
accent
#44A24E
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFB487

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

Preview Lab → · Contrast checker → · Palette generator →

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