#ACAB27#ACAB27

#ACAB27 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.0% C 0.145 H 109.1°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#ACAB27
RGBrgb(172, 171, 39)
HSLhsl(60, 63%, 41%)
HSVhsv(60, 77%, 67%)
CMYKcmyk(0%, 0.6%, 77.3%, 32.5%)
CIE-LABlab(68.05, -14.67, 62.65)
CIE-LCHlch(68.05, 64.34, 103.18°)
OKLaboklab(71.96% -0.0473 0.1367)
OKLCHoklch(71.96% 0.145 109.1)
XYZxyz(31.9436, 38.0440, 7.5796)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAB27 #2728AC
analogous
#AC6927 #ACAB27 #6BAC27
triadic
#ACAB27 #27ACAB #AB27AC
tetradic
#ACAB27 #27AC69 #2728AC #AC276B
square
#ACAB27 #27AC69 #2728AC #AC276B
split-complementary
#ACAB27 #276BAC #6927AC
monochromatic
#484810 #7A791C #ACAB27 #D3D23D #DEDE6F

Accessibility & contrast

On white

2.44
#ACAB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#ACAB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAB27
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAB27#FFFFFF#000000##000000
##ACAB271.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A400
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#B9A093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #acab27;
/* rgb */ color: rgb(172, 171, 39);
/* oklch */ color: oklch(72.0% 0.145 109.1);
Tailwind
colors: {
  custom: {
    50: '#c8c36d',
    500: '#acab27',
    950: '#000000',
  },
}
SCSS
$custom: #acab27;
$custom-light: #c8c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#acab27",
  "rgb": {
    "r": 172,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 59.549,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71957,
    "c": 0.14461,
    "h": 109.1
  },
  "luminance": 0.38043
}

Semantic roles & 50–950 ramp

primary
#ACAB27
secondary
#6A6AC5
accent
#43E642
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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