#ABAC25#ABAC25

#ABAC25 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.1% C 0.147 H 110.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#ABAC25
RGBrgb(171, 172, 37)
HSLhsl(60, 65%, 41%)
HSVhsv(60, 78%, 67%)
CMYKcmyk(0.6%, 0%, 78.5%, 32.5%)
CIE-LABlab(68.24, -15.69, 63.39)
CIE-LCHlch(68.24, 65.31, 103.90°)
OKLaboklab(72.08% -0.0503 0.1379)
OKLCHoklch(72.08% 0.147 110)
XYZxyz(31.8822, 38.2975, 7.4626)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC25 #2625AC
analogous
#AC6925 #ABAC25 #68AC25
triadic
#ABAC25 #25ABAC #AC25AB
tetradic
#ABAC25 #25AC69 #2625AC #AC2568
square
#ABAC25 #25AC69 #2625AC #AC2568
split-complementary
#ABAC25 #2568AC #6925AC
monochromatic
#47470F #797A1A #ABAC25 #D3D53A #DFDF6C

Accessibility & contrast

On white

2.43
#ABAC25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#ABAC25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAC25
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAC25#FFFFFF#000000##000000
##ABAC251.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BCA831
Tritanopia (blue-blind)
#B7A193
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #abac25;
/* rgb */ color: rgb(171, 172, 37);
/* oklch */ color: oklch(72.1% 0.147 110.0);
Tailwind
colors: {
  custom: {
    50: '#c8c46c',
    500: '#abac25',
    950: '#000000',
  },
}
SCSS
$custom: #abac25;
$custom-light: #c8c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#abac25",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 60.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72082,
    "c": 0.14681,
    "h": 110
  },
  "luminance": 0.38297
}

Semantic roles & 50–950 ramp

primary
#ABAC25
secondary
#6867C6
accent
#40E841
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAC25

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

Preview Lab → · Contrast checker → · Palette generator →

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