#ABAF7A#ABAF7A

#ABAF7A is a light, moderate yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.072 H 111.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#ABAF7A
RGBrgb(171, 175, 122)
HSLhsl(65, 25%, 58%)
HSVhsv(65, 30%, 69%)
CMYKcmyk(2.3%, 0%, 30.3%, 31.4%)
CIE-LABlab(69.98, -10.07, 26.78)
CIE-LCHlch(69.98, 28.61, 110.60°)
OKLaboklab(73.77% -0.0265 0.0669)
OKLCHoklch(73.77% 0.072 111.7)
XYZxyz(35.6375, 40.7234, 24.3916)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF7A #7E7AAF
analogous
#AF987A #ABAF7A #90AF7A
triadic
#ABAF7A #7AABAF #AF7AAB
tetradic
#ABAF7A #7AAF98 #7E7AAF #AF7A90
square
#ABAF7A #7AAF98 #7E7AAF #AF7A90
split-complementary
#ABAF7A #7A90AF #987AAF
monochromatic
#6A6D42 #8F9359 #ABAF7A #C3C6A0 #DBDDC6

Accessibility & contrast

On white

2.30
#ABAF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#ABAF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF7A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF7A#FFFFFF#000000##000000
##ABAF7A1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7AA76
Deuteranopia (green-blind)
#B7AC7C
Tritanopia (blue-blind)
#B2A9A1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abaf7a;
/* rgb */ color: rgb(171, 175, 122);
/* oklch */ color: oklch(73.8% 0.072 111.7);
Tailwind
colors: {
  custom: {
    50: '#c4c6a1',
    500: '#abaf7a',
    950: '#000000',
  },
}
SCSS
$custom: #abaf7a;
$custom-light: #c4c6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf7a",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 122
  },
  "hsl": {
    "h": 64.528,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.73766,
    "c": 0.07194,
    "h": 111.7
  },
  "luminance": 0.40723
}

Semantic roles & 50–950 ramp

primary
#ABAF7A
secondary
#B9B8CD
accent
#66C16D
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130F
muted
#82827E

Preview Lab

Preview with #ABAF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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