#AFB86D#AFB86D

#AFB86D is a light, moderate yellow. Relative luminance 0.445; OKLCH L 75.8% C 0.099 H 114.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#AFB86D
RGBrgb(175, 184, 109)
HSLhsl(67, 35%, 57%)
HSVhsv(67, 41%, 72%)
CMYKcmyk(4.9%, 0%, 40.8%, 27.8%)
CIE-LABlab(72.56, -14.75, 37.00)
CIE-LCHlch(72.56, 39.83, 111.73°)
OKLaboklab(75.83% -0.0408 0.09)
OKLCHoklch(75.83% 0.099 114.4)
XYZxyz(37.5803, 44.4995, 21.0746)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB86D #766DB8
analogous
#B89B6D #AFB86D #8AB86D
triadic
#AFB86D #6DAFB8 #B86DAF
tetradic
#AFB86D #6DB89B #766DB8 #B86D8A
square
#AFB86D #6DB89B #766DB8 #B86D8A
split-complementary
#AFB86D #6D8AB8 #9B6DB8
monochromatic
#6C7338 #929C4C #AFB86D #C6CC96 #DCE0BF

Accessibility & contrast

On white

2.12
#AFB86D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#AFB86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB86D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB86D#FFFFFF#000000##000000
##AFB86D1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B167
Deuteranopia (green-blind)
#C1B371
Tritanopia (blue-blind)
#B7B0A6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afb86d;
/* rgb */ color: rgb(175, 184, 109);
/* oklch */ color: oklch(75.8% 0.099 114.4);
Tailwind
colors: {
  custom: {
    50: '#c8cd98',
    500: '#afb86d',
    950: '#000000',
  },
}
SCSS
$custom: #afb86d;
$custom-light: #c8cd98;
$custom-dark: #000000;
JSON
{
  "hex": "#afb86d",
  "rgb": {
    "r": 175,
    "g": 184,
    "b": 109
  },
  "hsl": {
    "h": 67.2,
    "s": 34.562,
    "l": 57.451
  },
  "oklch": {
    "l": 0.75829,
    "c": 0.0988,
    "h": 114.4
  },
  "luminance": 0.44499
}

Semantic roles & 50–950 ramp

primary
#AFB86D
secondary
#B5B1D0
accent
#5DCB6A
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB86D

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

Preview Lab → · Contrast checker → · Palette generator →

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