#ACAB38#ACAB38

#ACAB38 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.1% C 0.134 H 108.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#ACAB38
RGBrgb(172, 171, 56)
HSLhsl(59, 51%, 45%)
HSVhsv(59, 67%, 67%)
CMYKcmyk(0%, 0.6%, 67.4%, 32.5%)
CIE-LABlab(68.16, -13.85, 56.67)
CIE-LCHlch(68.16, 58.34, 103.73°)
OKLaboklab(72.07% -0.0434 0.1271)
OKLCHoklch(72.07% 0.134 108.9)
XYZxyz(32.2911, 38.1830, 9.4097)
Luminance0.3818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAB38 #3839AC
analogous
#AC7138 #ACAB38 #73AC38
triadic
#ACAB38 #38ACAB #AB38AC
tetradic
#ACAB38 #38AC71 #3839AC #AC3873
square
#ACAB38 #38AC71 #3839AC #AC3873
split-complementary
#ACAB38 #3873AC #7138AC
monochromatic
#504F1A #7E7D29 #ACAB38 #C9C858 #D8D787

Accessibility & contrast

On white

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

On black

8.64
#ACAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAB38
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAB38#FFFFFF#000000##000000
##ACAB381.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#BAA840
Tritanopia (blue-blind)
#B8A094
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #acab38;
/* rgb */ color: rgb(172, 171, 56);
/* oklch */ color: oklch(72.1% 0.134 108.9);
Tailwind
colors: {
  custom: {
    50: '#c8c375',
    500: '#acab38',
    950: '#000000',
  },
}
SCSS
$custom: #acab38;
$custom-light: #c8c375;
$custom-dark: #000000;
JSON
{
  "hex": "#acab38",
  "rgb": {
    "r": 172,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 59.483,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72071,
    "c": 0.13428,
    "h": 108.9
  },
  "luminance": 0.38182
}

Semantic roles & 50–950 ramp

primary
#ACAB38
secondary
#7E7FC2
accent
#4FDA4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ACAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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