#AFB299#AFB299

#AFB299 is a light, muted yellow. Relative luminance 0.433; OKLCH L 75.4% C 0.035 H 112.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#AFB299
RGBrgb(175, 178, 153)
HSLhsl(67, 14%, 65%)
HSVhsv(67, 14%, 70%)
CMYKcmyk(1.7%, 0%, 14%, 30.2%)
CIE-LABlab(71.73, -5.49, 12.44)
CIE-LCHlch(71.73, 13.60, 113.80°)
OKLaboklab(75.43% -0.0135 0.0322)
OKLCHoklch(75.43% 0.035 112.8)
XYZxyz(39.3487, 43.2549, 36.4069)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB299 #9C99B2
analogous
#B2A899 #AFB299 #A3B299
triadic
#AFB299 #99AFB2 #B299AF
tetradic
#AFB299 #99B2A8 #9C99B2 #B299A3
square
#AFB299 #99B2A8 #9C99B2 #B299A3
split-complementary
#AFB299 #99A3B2 #A899B2
monochromatic
#73775A #949876 #AFB299 #CACCBC #E6E7DF

Accessibility & contrast

On white

2.18
#AFB299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#AFB299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB299
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB299#FFFFFF#000000##000000
##AFB2991.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AF98
Deuteranopia (green-blind)
#B6B09A
Tritanopia (blue-blind)
#B2AFAB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb299;
/* rgb */ color: rgb(175, 178, 153);
/* oklch */ color: oklch(75.4% 0.035 112.8);
Tailwind
colors: {
  custom: {
    50: '#c7c9b7',
    500: '#afb299',
    950: '#000000',
  },
}
SCSS
$custom: #afb299;
$custom-light: #c7c9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#afb299",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 153
  },
  "hsl": {
    "h": 67.2,
    "s": 13.966,
    "l": 64.902
  },
  "oklch": {
    "l": 0.7543,
    "c": 0.03488,
    "h": 112.8
  },
  "luminance": 0.43255
}

Semantic roles & 50–950 ramp

primary
#AFB299
secondary
#D0CFD8
accent
#4D9856
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #AFB299

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

Preview Lab → · Contrast checker → · Palette generator →

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