#ABAF64#ABAF64

#ABAF64 is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.098 H 111.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#ABAF64
RGBrgb(171, 175, 100)
HSLhsl(63, 32%, 54%)
HSVhsv(63, 43%, 69%)
CMYKcmyk(2.3%, 0%, 42.9%, 31.4%)
CIE-LABlab(69.64, -12.72, 37.87)
CIE-LCHlch(69.64, 39.95, 108.57°)
OKLaboklab(73.38% -0.0356 0.0915)
OKLCHoklch(73.38% 0.098 111.2)
XYZxyz(34.4253, 40.2386, 18.0075)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF64 #6864AF
analogous
#AF8E64 #ABAF64 #86AF64
triadic
#ABAF64 #64ABAF #AF64AB
tetradic
#ABAF64 #64AF8E #6864AF #AF6486
square
#ABAF64 #64AF8E #6864AF #AF6486
split-complementary
#ABAF64 #6486AF #8E64AF
monochromatic
#626534 #898D49 #ABAF64 #C1C48C #D7D9B5

Accessibility & contrast

On white

2.32
#ABAF64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#ABAF64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF64
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF64#FFFFFF#000000##000000
##ABAF641.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A95E
Deuteranopia (green-blind)
#BAAB68
Tritanopia (blue-blind)
#B4A79D
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #abaf64;
/* rgb */ color: rgb(171, 175, 100);
/* oklch */ color: oklch(73.4% 0.098 111.2);
Tailwind
colors: {
  custom: {
    50: '#c5c691',
    500: '#abaf64',
    950: '#000000',
  },
}
SCSS
$custom: #abaf64;
$custom-light: #c5c691;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf64",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 100
  },
  "hsl": {
    "h": 63.2,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73382,
    "c": 0.09815,
    "h": 111.2
  },
  "luminance": 0.40238
}

Semantic roles & 50–950 ramp

primary
#ABAF64
secondary
#A9A7C7
accent
#60C865
background
#FCFCF9
surface
#F8F8F1
border
#D1D1CB
text
#13130D
muted
#82827E

Preview Lab

Preview with #ABAF64

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

Preview Lab → · Contrast checker → · Palette generator →

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