#ABAF81#ABAF81

#ABAF81 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.063 H 112.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#ABAF81
RGBrgb(171, 175, 129)
HSLhsl(65, 22%, 60%)
HSVhsv(65, 26%, 69%)
CMYKcmyk(2.3%, 0%, 26.3%, 31.4%)
CIE-LABlab(70.11, -9.10, 23.19)
CIE-LCHlch(70.11, 24.91, 111.43°)
OKLaboklab(73.91% -0.0236 0.0584)
OKLCHoklch(73.91% 0.063 112)
XYZxyz(36.0869, 40.9032, 26.7587)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF81 #8581AF
analogous
#AF9C81 #ABAF81 #94AF81
triadic
#ABAF81 #81ABAF #AF81AB
tetradic
#ABAF81 #81AF9C #8581AF #AF8194
square
#ABAF81 #81AF9C #8581AF #AF8194
split-complementary
#ABAF81 #8194AF #9C81AF
monochromatic
#6C6F47 #90955E #ABAF81 #C4C7A6 #DDDFCC

Accessibility & contrast

On white

2.29
#ABAF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#ABAF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF81
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF81#FFFFFF#000000##000000
##ABAF811.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AB7E
Deuteranopia (green-blind)
#B6AC83
Tritanopia (blue-blind)
#B1AAA3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abaf81;
/* rgb */ color: rgb(171, 175, 129);
/* oklch */ color: oklch(73.9% 0.063 112.0);
Tailwind
colors: {
  custom: {
    50: '#c4c6a6',
    500: '#abaf81',
    950: '#000000',
  },
}
SCSS
$custom: #abaf81;
$custom-light: #c4c6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf81",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 129
  },
  "hsl": {
    "h": 65.217,
    "s": 22.33,
    "l": 59.608
  },
  "oklch": {
    "l": 0.73908,
    "c": 0.06302,
    "h": 112
  },
  "luminance": 0.40903
}

Semantic roles & 50–950 ramp

primary
#ABAF81
secondary
#BFBDCF
accent
#69BF70
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #ABAF81

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

Preview Lab → · Contrast checker → · Palette generator →

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