#ABAC26#ABAC26

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

Color values

HEX#ABAC26
RGBrgb(171, 172, 38)
HSLhsl(60, 64%, 41%)
HSVhsv(60, 78%, 67%)
CMYKcmyk(0.6%, 0%, 77.9%, 32.5%)
CIE-LABlab(68.24, -15.65, 63.10)
CIE-LCHlch(68.24, 65.01, 103.93°)
OKLaboklab(72.09% -0.0501 0.1375)
OKLCHoklch(72.09% 0.146 110)
XYZxyz(31.8982, 38.3039, 7.5464)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAC26 #2726AC
analogous
#AC6A26 #ABAC26 #68AC26
triadic
#ABAC26 #26ABAC #AC26AB
tetradic
#ABAC26 #26AC6A #2726AC #AC2668
square
#ABAC26 #26AC6A #2726AC #AC2668
split-complementary
#ABAC26 #2668AC #6A26AC
monochromatic
#474810 #797A1B #ABAC26 #D3D43B #DEDF6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAC26#FFFFFF#000000##000000
##ABAC261.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abac26;
/* rgb */ color: rgb(171, 172, 38);
/* oklch */ color: oklch(72.1% 0.146 110.0);
Tailwind
colors: {
  custom: {
    50: '#c8c46c',
    500: '#abac26',
    950: '#000000',
  },
}
SCSS
$custom: #abac26;
$custom-light: #c8c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#abac26",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 38
  },
  "hsl": {
    "h": 60.448,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72088,
    "c": 0.14632,
    "h": 110
  },
  "luminance": 0.38303
}

Semantic roles & 50–950 ramp

primary
#ABAC26
secondary
#6968C5
accent
#41E742
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAC26

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

Preview Lab → · Contrast checker → · Palette generator →

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