#ABAF56#ABAF56

#ABAF56 is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.2% C 0.113 H 111.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#ABAF56
RGBrgb(171, 175, 86)
HSLhsl(63, 36%, 51%)
HSVhsv(63, 51%, 69%)
CMYKcmyk(2.3%, 0%, 50.9%, 31.4%)
CIE-LABlab(69.46, -14.12, 44.66)
CIE-LCHlch(69.46, 46.83, 107.54°)
OKLaboklab(73.18% -0.0409 0.1054)
OKLCHoklch(73.18% 0.113 111.2)
XYZxyz(33.8050, 39.9904, 14.7404)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF56 #5A56AF
analogous
#AF8656 #ABAF56 #7EAF56
triadic
#ABAF56 #56ABAF #AF56AB
tetradic
#ABAF56 #56AF86 #5A56AF #AF567E
square
#ABAF56 #56AF86 #5A56AF #AF567E
split-complementary
#ABAF56 #567EAF #8656AF
monochromatic
#5C5E2D #848840 #ABAF56 #C0C380 #D4D6A9

Accessibility & contrast

On white

2.33
#ABAF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#ABAF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF56
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF56#FFFFFF#000000##000000
##ABAF561.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA84E
Deuteranopia (green-blind)
#BBAB5B
Tritanopia (blue-blind)
#B5A69B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #abaf56;
/* rgb */ color: rgb(171, 175, 86);
/* oklch */ color: oklch(73.2% 0.113 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c688',
    500: '#abaf56',
    950: '#000000',
  },
}
SCSS
$custom: #abaf56;
$custom-light: #c6c688;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf56",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 86
  },
  "hsl": {
    "h": 62.697,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73184,
    "c": 0.11302,
    "h": 111.2
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#ABAF56
secondary
#9F9DC4
accent
#5CCC61
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABAF56

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

Preview Lab → · Contrast checker → · Palette generator →

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