#ACBA31#ACBA31

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

Color values

HEX#ACBA31
RGBrgb(172, 186, 49)
HSLhsl(66, 58%, 46%)
HSVhsv(66, 74%, 73%)
CMYKcmyk(7.5%, 0%, 73.7%, 27.1%)
CIE-LABlab(72.30, -21.80, 63.33)
CIE-LCHlch(72.30, 66.97, 108.99°)
OKLaboklab(75.38% -0.0663 0.1399)
OKLCHoklch(75.38% 0.155 115.3)
XYZxyz(35.1275, 44.1108, 9.5689)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACBA31 #3F31BA
analogous
#BA8331 #ACBA31 #67BA31
triadic
#ACBA31 #31ACBA #BA31AC
tetradic
#ACBA31 #31BA83 #3F31BA #BA3167
square
#ACBA31 #31BA83 #3F31BA #BA3167
split-complementary
#ACBA31 #3167BA #8331BA
monochromatic
#525917 #7F8A24 #ACBA31 #C6D256 #D6DF86

Accessibility & contrast

On white

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

On black

9.82
#ACBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACBA31
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACBA31#FFFFFF#000000##000000
##ACBA311.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B7AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #acba31;
/* rgb */ color: rgb(172, 186, 49);
/* oklch */ color: oklch(75.4% 0.155 115.3);
Tailwind
colors: {
  custom: {
    50: '#c8ce73',
    500: '#acba31',
    950: '#000000',
  },
}
SCSS
$custom: #acba31;
$custom-light: #c8ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#acba31",
  "rgb": {
    "r": 172,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 66.131,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75376,
    "c": 0.15481,
    "h": 115.3
  },
  "luminance": 0.4411
}

Semantic roles & 50–950 ramp

primary
#ACBA31
secondary
#867EC9
accent
#46E256
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #ACBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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