#AFB489#AFB489

#AFB489 is a light, muted yellow. Relative luminance 0.436; OKLCH L 75.5% C 0.059 H 113.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#AFB489
RGBrgb(175, 180, 137)
HSLhsl(67, 22%, 62%)
HSVhsv(67, 24%, 71%)
CMYKcmyk(2.8%, 0%, 23.9%, 29.4%)
CIE-LABlab(71.94, -9.03, 21.41)
CIE-LCHlch(71.94, 23.24, 112.87°)
OKLaboklab(75.49% -0.0233 0.0543)
OKLCHoklch(75.49% 0.059 113.2)
XYZxyz(38.5156, 43.5629, 30.0415)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB489 #8E89B4
analogous
#B4A489 #AFB489 #9AB489
triadic
#AFB489 #89AFB4 #B489AF
tetradic
#AFB489 #89B4A4 #8E89B4 #B4899A
square
#AFB489 #89B4A4 #8E89B4 #B4899A
split-complementary
#AFB489 #899AB4 #A489B4
monochromatic
#72774C #969C64 #AFB489 #C8CCAE #E2E4D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB489#FFFFFF#000000##000000
##AFB4891.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)
#BBB086
Deuteranopia (green-blind)
#BAB18B
Tritanopia (blue-blind)
#B4AFA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb489;
/* rgb */ color: rgb(175, 180, 137);
/* oklch */ color: oklch(75.5% 0.059 113.2);
Tailwind
colors: {
  custom: {
    50: '#c7caab',
    500: '#afb489',
    950: '#000000',
  },
}
SCSS
$custom: #afb489;
$custom-light: #c7caab;
$custom-dark: #000000;
JSON
{
  "hex": "#afb489",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 137
  },
  "hsl": {
    "h": 66.977,
    "s": 22.28,
    "l": 62.157
  },
  "oklch": {
    "l": 0.75485,
    "c": 0.05904,
    "h": 113.2
  },
  "luminance": 0.43563
}

Semantic roles & 50–950 ramp

primary
#AFB489
secondary
#C6C5D4
accent
#45A14F
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFB489

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

Preview Lab → · Contrast checker → · Palette generator →

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