#ABAC33#ABAC33

#ABAC33 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.2% C 0.139 H 109.9°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#ABAC33
RGBrgb(171, 172, 51)
HSLhsl(60, 54%, 44%)
HSVhsv(60, 70%, 67%)
CMYKcmyk(0.6%, 0%, 70.3%, 32.5%)
CIE-LABlab(68.32, -15.07, 58.74)
CIE-LCHlch(68.32, 60.64, 104.39°)
OKLaboklab(72.17% -0.0473 0.1306)
OKLCHoklch(72.17% 0.139 109.9)
XYZxyz(32.1458, 38.4029, 8.8505)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC33 #3433AC
analogous
#AC7033 #ABAC33 #6EAC33
triadic
#ABAC33 #33ABAC #AC33AB
tetradic
#ABAC33 #33AC70 #3433AC #AC336E
square
#ABAC33 #33AC70 #3433AC #AC336E
split-complementary
#ABAC33 #336EAC #7033AC
monochromatic
#4D4E17 #7C7D25 #ABAC33 #CACB51 #D9D980

Accessibility & contrast

On white

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

On black

8.68
#ABAC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC33
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC33#FFFFFF#000000##000000
##ABAC331.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#B7A194
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abac33;
/* rgb */ color: rgb(171, 172, 51);
/* oklch */ color: oklch(72.2% 0.139 109.9);
Tailwind
colors: {
  custom: {
    50: '#c7c473',
    500: '#abac33',
    950: '#000000',
  },
}
SCSS
$custom: #abac33;
$custom-light: #c7c473;
$custom-dark: #000000;
JSON
{
  "hex": "#abac33",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 60.496,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72169,
    "c": 0.13889,
    "h": 109.9
  },
  "luminance": 0.38402
}

Semantic roles & 50–950 ramp

primary
#ABAC33
secondary
#7978C2
accent
#4ADE4B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABAC33

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

Preview Lab → · Contrast checker → · Palette generator →

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