#AFAB6E#AFAB6E

#AFAB6E is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.081 H 105.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AFAB6E
RGBrgb(175, 171, 110)
HSLhsl(56, 29%, 56%)
HSVhsv(56, 37%, 69%)
CMYKcmyk(0%, 2.3%, 37.1%, 31.4%)
CIE-LABlab(69.02, -7.87, 31.95)
CIE-LCHlch(69.02, 32.90, 103.84°)
OKLaboklab(73.01% -0.021 0.0785)
OKLCHoklch(73.01% 0.081 105)
XYZxyz(35.0570, 39.3664, 20.5006)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB6E #6E72AF
analogous
#AF8A6E #AFAB6E #92AF6E
triadic
#AFAB6E #6EAFAB #AB6EAF
tetradic
#AFAB6E #6EAF8A #6E72AF #AF6E92
square
#AFAB6E #6EAF8A #6E72AF #AF6E92
split-complementary
#AFAB6E #6E92AF #8A6EAF
monochromatic
#69663A #908C50 #AFAB6E #C5C295 #DBD9BD

Accessibility & contrast

On white

2.37
#AFAB6E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#AFAB6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB6E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB6E#FFFFFF#000000##000000
##AFAB6E1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A76A
Deuteranopia (green-blind)
#B7AA70
Tritanopia (blue-blind)
#B8A39C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afab6e;
/* rgb */ color: rgb(175, 171, 110);
/* oklch */ color: oklch(73.0% 0.081 105.0);
Tailwind
colors: {
  custom: {
    50: '#c8c398',
    500: '#afab6e',
    950: '#000000',
  },
}
SCSS
$custom: #afab6e;
$custom-light: #c8c398;
$custom-dark: #000000;
JSON
{
  "hex": "#afab6e",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 110
  },
  "hsl": {
    "h": 56.308,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.73014,
    "c": 0.08127,
    "h": 105
  },
  "luminance": 0.39366
}

Semantic roles & 50–950 ramp

primary
#AFAB6E
secondary
#AFB1CA
accent
#69C563
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFAB6E

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

Preview Lab → · Contrast checker → · Palette generator →

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