#ACBA28#ACBA28

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

Color values

HEX#ACBA28
RGBrgb(172, 186, 40)
HSLhsl(66, 65%, 44%)
HSVhsv(66, 78%, 73%)
CMYKcmyk(7.5%, 0%, 78.5%, 27.1%)
CIE-LABlab(72.26, -22.18, 66.13)
CIE-LCHlch(72.26, 69.76, 108.54°)
OKLaboklab(75.33% -0.0681 0.1443)
OKLCHoklch(75.33% 0.16 115.3)
XYZxyz(34.9562, 44.0423, 8.6666)
Luminance0.4404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACBA28 #3628BA
analogous
#BA7F28 #ACBA28 #63BA28
triadic
#ACBA28 #28ACBA #BA28AC
tetradic
#ACBA28 #28BA7F #3628BA #BA2863
square
#ACBA28 #28BA7F #3628BA #BA2863
split-complementary
#ACBA28 #2863BA #7F28BA
monochromatic
#4F5512 #7D881D #ACBA28 #CAD848 #D8E27A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACBA28#FFFFFF#000000##000000
##ACBA281.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)
#C7B236
Tritanopia (blue-blind)
#B8AF9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #acba28;
/* rgb */ color: rgb(172, 186, 40);
/* oklch */ color: oklch(75.3% 0.160 115.3);
Tailwind
colors: {
  custom: {
    50: '#c9ce6f',
    500: '#acba28',
    950: '#000000',
  },
}
SCSS
$custom: #acba28;
$custom-light: #c9ce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#acba28",
  "rgb": {
    "r": 172,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 65.753,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75325,
    "c": 0.15954,
    "h": 115.3
  },
  "luminance": 0.44042
}

Semantic roles & 50–950 ramp

primary
#ACBA28
secondary
#7C73CA
accent
#40E850
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACBA28

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

Preview Lab → · Contrast checker → · Palette generator →

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