#ACBA2A#ACBA2A

#ACBA2A is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.3% C 0.159 H 115.3°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#ACBA2A
RGBrgb(172, 186, 42)
HSLhsl(66, 63%, 45%)
HSVhsv(66, 77%, 73%)
CMYKcmyk(7.5%, 0%, 77.4%, 27.1%)
CIE-LABlab(72.27, -22.11, 65.55)
CIE-LCHlch(72.27, 69.17, 108.64°)
OKLaboklab(75.33% -0.0677 0.1434)
OKLCHoklch(75.33% 0.159 115.3)
XYZxyz(34.9911, 44.0562, 8.8505)
Luminance0.4406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACBA2A #382ABA
analogous
#BA802A #ACBA2A #64BA2A
triadic
#ACBA2A #2AACBA #BA2AAC
tetradic
#ACBA2A #2ABA80 #382ABA #BA2A64
square
#ACBA2A #2ABA80 #382ABA #BA2A64
split-complementary
#ACBA2A #2A64BA #802ABA
monochromatic
#505613 #7E881F #ACBA2A #C9D64B #D8E27D

Accessibility & contrast

On white

2.14
#ACBA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#ACBA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACBA2A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACBA2A#FFFFFF#000000##000000
##ACBA2A1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C7B237
Tritanopia (blue-blind)
#B7AF9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #acba2a;
/* rgb */ color: rgb(172, 186, 42);
/* oklch */ color: oklch(75.3% 0.159 115.3);
Tailwind
colors: {
  custom: {
    50: '#c8ce70',
    500: '#acba2a',
    950: '#000000',
  },
}
SCSS
$custom: #acba2a;
$custom-light: #c8ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#acba2a",
  "rgb": {
    "r": 172,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 65.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75335,
    "c": 0.15856,
    "h": 115.3
  },
  "luminance": 0.44056
}

Semantic roles & 50–950 ramp

primary
#ACBA2A
secondary
#7E76CA
accent
#42E652
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACBA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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