#ABAF50#ABAF50

#ABAF50 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.119 H 111.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#ABAF50
RGBrgb(171, 175, 80)
HSLhsl(63, 37%, 50%)
HSVhsv(63, 54%, 69%)
CMYKcmyk(2.3%, 0%, 54.3%, 31.4%)
CIE-LABlab(69.40, -14.64, 47.46)
CIE-LCHlch(69.40, 49.66, 107.15°)
OKLaboklab(73.11% -0.043 0.1108)
OKLCHoklch(73.11% 0.119 111.2)
XYZxyz(33.5733, 39.8978, 13.5203)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF50 #5450AF
analogous
#AF8350 #ABAF50 #7CAF50
triadic
#ABAF50 #50ABAF #AF50AB
tetradic
#ABAF50 #50AF83 #5450AF #AF507C
square
#ABAF50 #50AF83 #5450AF #AF507C
split-complementary
#ABAF50 #507CAF #8350AF
monochromatic
#595B2A #82853D #ABAF50 #BFC27A #D3D5A4

Accessibility & contrast

On white

2.34
#ABAF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#ABAF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF50
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF50#FFFFFF#000000##000000
##ABAF501.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA847
Deuteranopia (green-blind)
#BCAB55
Tritanopia (blue-blind)
#B5A69A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf50;
/* rgb */ color: rgb(171, 175, 80);
/* oklch */ color: oklch(73.1% 0.119 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c684',
    500: '#abaf50',
    950: '#000000',
  },
}
SCSS
$custom: #abaf50;
$custom-light: #c6c684;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf50",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 62.526,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.7311,
    "c": 0.11888,
    "h": 111.2
  },
  "luminance": 0.39897
}

Semantic roles & 50–950 ramp

primary
#ABAF50
secondary
#9A98C3
accent
#5BCD5F
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABAF50

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

Preview Lab → · Contrast checker → · Palette generator →

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