#ABAF71#ABAF71

#ABAF71 is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.6% C 0.083 H 111.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#ABAF71
RGBrgb(171, 175, 113)
HSLhsl(64, 28%, 56%)
HSVhsv(64, 35%, 69%)
CMYKcmyk(2.3%, 0%, 35.4%, 31.4%)
CIE-LABlab(69.83, -11.22, 31.36)
CIE-LCHlch(69.83, 33.31, 109.69°)
OKLaboklab(73.6% -0.0303 0.0773)
OKLCHoklch(73.6% 0.083 111.4)
XYZxyz(35.1054, 40.5106, 21.5896)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF71 #7571AF
analogous
#AF9471 #ABAF71 #8CAF71
triadic
#ABAF71 #71ABAF #AF71AB
tetradic
#ABAF71 #71AF94 #7571AF #AF718C
square
#ABAF71 #71AF94 #7571AF #AF718C
split-complementary
#ABAF71 #718CAF #9471AF
monochromatic
#676A3C #8D9152 #ABAF71 #C2C598 #D9DBBF

Accessibility & contrast

On white

2.31
#ABAF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#ABAF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF71
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF71#FFFFFF#000000##000000
##ABAF711.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6D
Deuteranopia (green-blind)
#B8AC74
Tritanopia (blue-blind)
#B3A89F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abaf71;
/* rgb */ color: rgb(171, 175, 113);
/* oklch */ color: oklch(73.6% 0.083 111.4);
Tailwind
colors: {
  custom: {
    50: '#c5c69a',
    500: '#abaf71',
    950: '#000000',
  },
}
SCSS
$custom: #abaf71;
$custom-light: #c5c69a;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf71",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 113
  },
  "hsl": {
    "h": 63.871,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.73598,
    "c": 0.08302,
    "h": 111.4
  },
  "luminance": 0.4051
}

Semantic roles & 50–950 ramp

primary
#ABAF71
secondary
#B3B1CB
accent
#64C46A
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #ABAF71

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

Preview Lab → · Contrast checker → · Palette generator →

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