#ABAF47#ABAF47

#ABAF47 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.127 H 111.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#ABAF47
RGBrgb(171, 175, 71)
HSLhsl(62, 42%, 48%)
HSVhsv(62, 59%, 69%)
CMYKcmyk(2.3%, 0%, 59.4%, 31.4%)
CIE-LABlab(69.31, -15.35, 51.50)
CIE-LCHlch(69.31, 53.74, 106.60°)
OKLaboklab(73.01% -0.046 0.1184)
OKLCHoklch(73.01% 0.127 111.2)
XYZxyz(33.2628, 39.7736, 11.8849)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF47 #4B47AF
analogous
#AF7F47 #ABAF47 #77AF47
triadic
#ABAF47 #47ABAF #AF47AB
tetradic
#ABAF47 #47AF7F #4B47AF #AF4777
square
#ABAF47 #47AF7F #4B47AF #AF4777
split-complementary
#ABAF47 #4777AF #7F47AF
monochromatic
#565824 #808335 #ABAF47 #C1C46F #D4D69A

Accessibility & contrast

On white

2.35
#ABAF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#ABAF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF47
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF47#FFFFFF#000000##000000
##ABAF471.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83B
Deuteranopia (green-blind)
#BCAB4D
Tritanopia (blue-blind)
#B6A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf47;
/* rgb */ color: rgb(171, 175, 71);
/* oklch */ color: oklch(73.0% 0.127 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c67e',
    500: '#abaf47',
    950: '#000000',
  },
}
SCSS
$custom: #abaf47;
$custom-light: #c6c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf47",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 62.308,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73011,
    "c": 0.12702,
    "h": 111.2
  },
  "luminance": 0.39773
}

Semantic roles & 50–950 ramp

primary
#ABAF47
secondary
#918FC2
accent
#56D25B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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