#ABAC3A#ABAC3A

#ABAC3A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.2% C 0.134 H 109.8°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#ABAC3A
RGBrgb(171, 172, 58)
HSLhsl(61, 50%, 45%)
HSVhsv(61, 66%, 67%)
CMYKcmyk(0.6%, 0%, 66.3%, 32.5%)
CIE-LABlab(68.37, -14.68, 56.06)
CIE-LCHlch(68.37, 57.95, 104.68°)
OKLaboklab(72.22% -0.0455 0.1261)
OKLCHoklch(72.22% 0.134 109.8)
XYZxyz(32.3119, 38.4694, 9.7254)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC3A #3B3AAC
analogous
#AC743A #ABAC3A #72AC3A
triadic
#ABAC3A #3AABAC #AC3AAB
tetradic
#ABAC3A #3AAC74 #3B3AAC #AC3A72
square
#ABAC3A #3AAC74 #3B3AAC #AC3A72
split-complementary
#ABAC3A #3A72AC #743AAC
monochromatic
#50501B #7D7E2B #ABAC3A #C7C85B #D7D789

Accessibility & contrast

On white

2.42
#ABAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#ABAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC3A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC3A#FFFFFF#000000##000000
##ABAC3A1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A52A
Deuteranopia (green-blind)
#BBA842
Tritanopia (blue-blind)
#B7A195
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac3a;
/* rgb */ color: rgb(171, 172, 58);
/* oklch */ color: oklch(72.2% 0.134 109.8);
Tailwind
colors: {
  custom: {
    50: '#c7c477',
    500: '#abac3a',
    950: '#000000',
  },
}
SCSS
$custom: #abac3a;
$custom-light: #c7c477;
$custom-dark: #000000;
JSON
{
  "hex": "#abac3a",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 60.526,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72223,
    "c": 0.13407,
    "h": 109.8
  },
  "luminance": 0.38468
}

Semantic roles & 50–950 ramp

primary
#ABAC3A
secondary
#8180C2
accent
#4FD950
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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