#ABAF7F#ABAF7F

#ABAF7F is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.9% C 0.066 H 111.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#ABAF7F
RGBrgb(171, 175, 127)
HSLhsl(65, 23%, 59%)
HSVhsv(65, 27%, 69%)
CMYKcmyk(2.3%, 0%, 27.4%, 31.4%)
CIE-LABlab(70.07, -9.38, 24.21)
CIE-LCHlch(70.07, 25.97, 111.18°)
OKLaboklab(73.87% -0.0244 0.0609)
OKLCHoklch(73.87% 0.066 111.9)
XYZxyz(35.9553, 40.8506, 26.0654)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF7F #837FAF
analogous
#AF9B7F #ABAF7F #93AF7F
triadic
#ABAF7F #7FABAF #AF7FAB
tetradic
#ABAF7F #7FAF9B #837FAF #AF7F93
square
#ABAF7F #7FAF9B #837FAF #AF7F93
split-complementary
#ABAF7F #7F93AF #9B7FAF
monochromatic
#6B6F45 #90945D #ABAF7F #C4C7A5 #DCDECA

Accessibility & contrast

On white

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

On black

9.17
#ABAF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF7F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF7F#FFFFFF#000000##000000
##ABAF7F1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AB7C
Deuteranopia (green-blind)
#B6AC81
Tritanopia (blue-blind)
#B1A9A2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abaf7f;
/* rgb */ color: rgb(171, 175, 127);
/* oklch */ color: oklch(73.9% 0.066 111.9);
Tailwind
colors: {
  custom: {
    50: '#c4c6a4',
    500: '#abaf7f',
    950: '#000000',
  },
}
SCSS
$custom: #abaf7f;
$custom-light: #c4c6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf7f",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 127
  },
  "hsl": {
    "h": 65,
    "s": 23.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.73866,
    "c": 0.06559,
    "h": 111.9
  },
  "luminance": 0.4085
}

Semantic roles & 50–950 ramp

primary
#ABAF7F
secondary
#BDBCCE
accent
#68C070
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #ABAF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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