#ABAC45#ABAC45

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

Color values

HEX#ABAC45
RGBrgb(171, 172, 69)
HSLhsl(61, 43%, 47%)
HSVhsv(61, 60%, 67%)
CMYKcmyk(0.6%, 0%, 59.9%, 32.5%)
CIE-LABlab(68.46, -13.96, 51.46)
CIE-LCHlch(68.46, 53.32, 105.18°)
OKLaboklab(72.32% -0.0422 0.1181)
OKLCHoklch(72.32% 0.125 109.7)
XYZxyz(32.6222, 38.5935, 11.3599)
Luminance0.3859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC45 #4645AC
analogous
#AC7A45 #ABAC45 #77AC45
triadic
#ABAC45 #45ABAC #AC45AB
tetradic
#ABAC45 #45AC7A #4645AC #AC4577
square
#ABAC45 #45AC7A #4645AC #AC4577
split-complementary
#ABAC45 #4577AC #7A45AC
monochromatic
#545522 #808033 #ABAC45 #C3C46B #D4D596

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAC45#FFFFFF#000000##000000
##ABAC451.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)
#B9A539
Deuteranopia (green-blind)
#BAA94B
Tritanopia (blue-blind)
#B6A296
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac45;
/* rgb */ color: rgb(171, 172, 69);
/* oklch */ color: oklch(72.3% 0.125 109.7);
Tailwind
colors: {
  custom: {
    50: '#c6c47d',
    500: '#abac45',
    950: '#000000',
  },
}
SCSS
$custom: #abac45;
$custom-light: #c6c47d;
$custom-dark: #000000;
JSON
{
  "hex": "#abac45",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 60.583,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72324,
    "c": 0.12538,
    "h": 109.7
  },
  "luminance": 0.38593
}

Semantic roles & 50–950 ramp

primary
#ABAC45
secondary
#8C8CC1
accent
#55D357
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABAC45

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

Preview Lab → · Contrast checker → · Palette generator →

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