#AFB488#AFB488

#AFB488 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.060 H 113.1°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#AFB488
RGBrgb(175, 180, 136)
HSLhsl(67, 23%, 62%)
HSVhsv(67, 24%, 71%)
CMYKcmyk(2.8%, 0%, 24.4%, 29.4%)
CIE-LABlab(71.92, -9.18, 21.92)
CIE-LCHlch(71.92, 23.77, 112.71°)
OKLaboklab(75.46% -0.0237 0.0555)
OKLCHoklch(75.46% 0.06 113.1)
XYZxyz(38.4442, 43.5344, 29.6655)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB488 #8D88B4
analogous
#B4A388 #AFB488 #99B488
triadic
#AFB488 #88AFB4 #B488AF
tetradic
#AFB488 #88B4A3 #8D88B4 #B48899
square
#AFB488 #88B4A3 #8D88B4 #B48899
split-complementary
#AFB488 #8899B4 #A388B4
monochromatic
#72774B #969C63 #AFB488 #C8CCAE #E1E3D3

Accessibility & contrast

On white

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

On black

9.71
#AFB488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB488
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB488#FFFFFF#000000##000000
##AFB4881.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBB085
Deuteranopia (green-blind)
#BBB18A
Tritanopia (blue-blind)
#B4AFA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb488;
/* rgb */ color: rgb(175, 180, 136);
/* oklch */ color: oklch(75.5% 0.060 113.1);
Tailwind
colors: {
  custom: {
    50: '#c7caab',
    500: '#afb488',
    950: '#000000',
  },
}
SCSS
$custom: #afb488;
$custom-light: #c7caab;
$custom-dark: #000000;
JSON
{
  "hex": "#afb488",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 136
  },
  "hsl": {
    "h": 66.818,
    "s": 22.68,
    "l": 61.961
  },
  "oklch": {
    "l": 0.75463,
    "c": 0.06034,
    "h": 113.1
  },
  "luminance": 0.43534
}

Semantic roles & 50–950 ramp

primary
#AFB488
secondary
#C6C4D4
accent
#44A14F
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFB488

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

Preview Lab → · Contrast checker → · Palette generator →

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