#ABAC47#ABAC47

#ABAC47 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.3% C 0.124 H 109.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#ABAC47
RGBrgb(171, 172, 71)
HSLhsl(61, 42%, 48%)
HSVhsv(61, 59%, 67%)
CMYKcmyk(0.6%, 0%, 58.7%, 32.5%)
CIE-LABlab(68.47, -13.81, 50.58)
CIE-LCHlch(68.47, 52.43, 105.27°)
OKLaboklab(72.35% -0.0416 0.1165)
OKLCHoklch(72.35% 0.124 109.7)
XYZxyz(32.6854, 38.6187, 11.6924)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC47 #4847AC
analogous
#AC7A47 #ABAC47 #78AC47
triadic
#ABAC47 #47ABAC #AC47AB
tetradic
#ABAC47 #47AC7A #4847AC #AC4778
square
#ABAC47 #47AC7A #4847AC #AC4778
split-complementary
#ABAC47 #4778AC #7A47AC
monochromatic
#555523 #808135 #ABAC47 #C2C36D #D4D599

Accessibility & contrast

On white

2.41
#ABAC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#ABAC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC47
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC47#FFFFFF#000000##000000
##ABAC471.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A53C
Deuteranopia (green-blind)
#BAA94D
Tritanopia (blue-blind)
#B6A296
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac47;
/* rgb */ color: rgb(171, 172, 71);
/* oklch */ color: oklch(72.3% 0.124 109.7);
Tailwind
colors: {
  custom: {
    50: '#c6c47e',
    500: '#abac47',
    950: '#000000',
  },
}
SCSS
$custom: #abac47;
$custom-light: #c6c47e;
$custom-dark: #000000;
JSON
{
  "hex": "#abac47",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 60.594,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.12366,
    "h": 109.7
  },
  "luminance": 0.38618
}

Semantic roles & 50–950 ramp

primary
#ABAC47
secondary
#8E8EC1
accent
#56D158
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABAC47

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

Preview Lab → · Contrast checker → · Palette generator →

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