#ABAF7E#ABAF7E

#ABAF7E is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.067 H 111.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#ABAF7E
RGBrgb(171, 175, 126)
HSLhsl(65, 23%, 59%)
HSVhsv(65, 28%, 69%)
CMYKcmyk(2.3%, 0%, 28%, 31.4%)
CIE-LABlab(70.05, -9.52, 24.73)
CIE-LCHlch(70.05, 26.50, 111.06°)
OKLaboklab(73.85% -0.0249 0.0621)
OKLCHoklch(73.85% 0.067 111.8)
XYZxyz(35.8904, 40.8246, 25.7238)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF7E #827EAF
analogous
#AF9B7E #ABAF7E #93AF7E
triadic
#ABAF7E #7EABAF #AF7EAB
tetradic
#ABAF7E #7EAF9B #827EAF #AF7E93
square
#ABAF7E #7EAF9B #827EAF #AF7E93
split-complementary
#ABAF7E #7E93AF #9B7EAF
monochromatic
#6B6E44 #8F945C #ABAF7E #C4C6A4 #DCDECA

Accessibility & contrast

On white

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

On black

9.16
#ABAF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF7E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF7E#FFFFFF#000000##000000
##ABAF7E1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abaf7e;
/* rgb */ color: rgb(171, 175, 126);
/* oklch */ color: oklch(73.8% 0.067 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c6a3',
    500: '#abaf7e',
    950: '#000000',
  },
}
SCSS
$custom: #abaf7e;
$custom-light: #c4c6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf7e",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 126
  },
  "hsl": {
    "h": 64.898,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.73846,
    "c": 0.06687,
    "h": 111.8
  },
  "luminance": 0.40824
}

Semantic roles & 50–950 ramp

primary
#ABAF7E
secondary
#BCBBCE
accent
#68C06F
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #ABAF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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