#ABAC30#ABAC30

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

Color values

HEX#ABAC30
RGBrgb(171, 172, 48)
HSLhsl(60, 56%, 43%)
HSVhsv(60, 72%, 67%)
CMYKcmyk(0.6%, 0%, 72.1%, 32.5%)
CIE-LABlab(68.30, -15.22, 59.82)
CIE-LCHlch(68.30, 61.73, 104.28°)
OKLaboklab(72.15% -0.048 0.1324)
OKLCHoklch(72.15% 0.141 109.9)
XYZxyz(32.0817, 38.3773, 8.5133)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC30 #3130AC
analogous
#AC6F30 #ABAC30 #6DAC30
triadic
#ABAC30 #30ABAC #AC30AB
tetradic
#ABAC30 #30AC6F #3130AC #AC306D
square
#ABAC30 #30AC6F #3130AC #AC306D
split-complementary
#ABAC30 #306DAC #6F30AC
monochromatic
#4C4C15 #7B7C23 #ABAC30 #CCCD4C #DADA7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAC30#FFFFFF#000000##000000
##ABAC301.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)
#BAA519
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#B7A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abac30;
/* rgb */ color: rgb(171, 172, 48);
/* oklch */ color: oklch(72.1% 0.141 109.9);
Tailwind
colors: {
  custom: {
    50: '#c7c471',
    500: '#abac30',
    950: '#000000',
  },
}
SCSS
$custom: #abac30;
$custom-light: #c7c471;
$custom-dark: #000000;
JSON
{
  "hex": "#abac30",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 60.484,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72148,
    "c": 0.14079,
    "h": 109.9
  },
  "luminance": 0.38376
}

Semantic roles & 50–950 ramp

primary
#ABAC30
secondary
#7575C3
accent
#48E049
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAC30

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

Preview Lab → · Contrast checker → · Palette generator →

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