#ACAB2F#ACAB2F

#ACAB2F is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.0% C 0.140 H 109.0°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#ACAB2F
RGBrgb(172, 171, 47)
HSLhsl(60, 57%, 43%)
HSVhsv(60, 73%, 67%)
CMYKcmyk(0%, 0.6%, 72.7%, 32.5%)
CIE-LABlab(68.10, -14.32, 60.01)
CIE-LCHlch(68.10, 61.70, 103.42°)
OKLaboklab(72.01% -0.0456 0.1326)
OKLCHoklch(72.01% 0.14 109)
XYZxyz(32.0904, 38.1027, 8.3529)
Luminance0.3810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACAB2F #2F30AC
analogous
#AC6C2F #ACAB2F #6EAC2F
triadic
#ACAB2F #2FACAB #AB2FAC
tetradic
#ACAB2F #2FAC6C #2F30AC #AC2F6E
square
#ACAB2F #2FAC6C #2F30AC #AC2F6E
split-complementary
#ACAB2F #2F6EAC #6C2FAC
monochromatic
#4C4B15 #7C7B22 #ACAB2F #CECD4B #DBDA7B

Accessibility & contrast

On white

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

On black

8.62
#ACAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACAB2F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACAB2F#FFFFFF#000000##000000
##ACAB2F1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A417
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#B8A093
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #acab2f;
/* rgb */ color: rgb(172, 171, 47);
/* oklch */ color: oklch(72.0% 0.140 109.0);
Tailwind
colors: {
  custom: {
    50: '#c8c371',
    500: '#acab2f',
    950: '#000000',
  },
}
SCSS
$custom: #acab2f;
$custom-light: #c8c371;
$custom-dark: #000000;
JSON
{
  "hex": "#acab2f",
  "rgb": {
    "r": 172,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 59.52,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72005,
    "c": 0.14018,
    "h": 109
  },
  "luminance": 0.38102
}

Semantic roles & 50–950 ramp

primary
#ACAB2F
secondary
#7474C3
accent
#49E047
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ACAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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