#ABAF66#ABAF66

#ABAF66 is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.096 H 111.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#ABAF66
RGBrgb(171, 175, 102)
HSLhsl(63, 31%, 54%)
HSVhsv(63, 42%, 69%)
CMYKcmyk(2.3%, 0%, 41.7%, 31.4%)
CIE-LABlab(69.67, -12.51, 36.88)
CIE-LCHlch(69.67, 38.94, 108.73°)
OKLaboklab(73.41% -0.0348 0.0894)
OKLCHoklch(73.41% 0.096 111.3)
XYZxyz(34.5233, 40.2778, 18.5235)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF66 #6A66AF
analogous
#AF8F66 #ABAF66 #87AF66
triadic
#ABAF66 #66ABAF #AF66AB
tetradic
#ABAF66 #66AF8F #6A66AF #AF6687
square
#ABAF66 #66AF8F #6A66AF #AF6687
split-complementary
#ABAF66 #6687AF #8F66AF
monochromatic
#636635 #8A8E4A #ABAF66 #C1C48E #D7D9B6

Accessibility & contrast

On white

2.32
#ABAF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#ABAF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF66
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF66#FFFFFF#000000##000000
##ABAF661.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A960
Deuteranopia (green-blind)
#BAAB69
Tritanopia (blue-blind)
#B4A79D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #abaf66;
/* rgb */ color: rgb(171, 175, 102);
/* oklch */ color: oklch(73.4% 0.096 111.3);
Tailwind
colors: {
  custom: {
    50: '#c5c693',
    500: '#abaf66',
    950: '#000000',
  },
}
SCSS
$custom: #abaf66;
$custom-light: #c5c693;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf66",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 102
  },
  "hsl": {
    "h": 63.288,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.73413,
    "c": 0.0959,
    "h": 111.3
  },
  "luminance": 0.40277
}

Semantic roles & 50–950 ramp

primary
#ABAF66
secondary
#ABA9C8
accent
#60C866
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #ABAF66

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

Preview Lab → · Contrast checker → · Palette generator →

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