#ABAF82#ABAF82

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

Color values

HEX#ABAF82
RGBrgb(171, 175, 130)
HSLhsl(65, 22%, 60%)
HSVhsv(65, 26%, 69%)
CMYKcmyk(2.3%, 0%, 25.7%, 31.4%)
CIE-LABlab(70.13, -8.96, 22.67)
CIE-LCHlch(70.13, 24.38, 111.56°)
OKLaboklab(73.93% -0.0232 0.0572)
OKLCHoklch(73.93% 0.062 112)
XYZxyz(36.1537, 40.9299, 27.1104)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF82 #8682AF
analogous
#AF9C82 #ABAF82 #95AF82
triadic
#ABAF82 #82ABAF #AF82AB
tetradic
#ABAF82 #82AF9C #8682AF #AF8295
square
#ABAF82 #82AF9C #8682AF #AF8295
split-complementary
#ABAF82 #8295AF #9C82AF
monochromatic
#6C6F47 #90955F #ABAF82 #C4C7A7 #DDDFCD

Accessibility & contrast

On white

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

On black

9.19
#ABAF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF82
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF82#FFFFFF#000000##000000
##ABAF821.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abaf82;
/* rgb */ color: rgb(171, 175, 130);
/* oklch */ color: oklch(73.9% 0.062 112.0);
Tailwind
colors: {
  custom: {
    50: '#c4c6a6',
    500: '#abaf82',
    950: '#000000',
  },
}
SCSS
$custom: #abaf82;
$custom-light: #c4c6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf82",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 130
  },
  "hsl": {
    "h": 65.333,
    "s": 21.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.73929,
    "c": 0.06173,
    "h": 112
  },
  "luminance": 0.4093
}

Semantic roles & 50–950 ramp

primary
#ABAF82
secondary
#BFBECF
accent
#69BE71
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#12130F
muted
#81827F

Preview Lab

Preview with #ABAF82

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

Preview Lab → · Contrast checker → · Palette generator →

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