#ACB828#ACB828

#ACB828 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.9% C 0.157 H 114.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#ACB828
RGBrgb(172, 184, 40)
HSLhsl(65, 64%, 44%)
HSVhsv(65, 78%, 72%)
CMYKcmyk(6.5%, 0%, 78.3%, 27.8%)
CIE-LABlab(71.69, -21.19, 65.63)
CIE-LCHlch(71.69, 68.97, 107.90°)
OKLaboklab(74.87% -0.0653 0.1432)
OKLCHoklch(74.87% 0.157 114.5)
XYZxyz(34.5378, 43.2055, 8.5272)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB828 #3428B8
analogous
#B87C28 #ACB828 #64B828
triadic
#ACB828 #28ACB8 #B828AC
tetradic
#ACB828 #28B87C #3428B8 #B82864
square
#ACB828 #28B87C #3428B8 #B82864
split-complementary
#ACB828 #2864B8 #7C28B8
monochromatic
#4E5312 #7D861D #ACB828 #CBD746 #D9E279

Accessibility & contrast

On white

2.18
#ACB828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#ACB828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB828
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB828#FFFFFF#000000##000000
##ACB8281.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#B8AD9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #acb828;
/* rgb */ color: rgb(172, 184, 40);
/* oklch */ color: oklch(74.9% 0.157 114.5);
Tailwind
colors: {
  custom: {
    50: '#c8cd6f',
    500: '#acb828',
    950: '#000000',
  },
}
SCSS
$custom: #acb828;
$custom-light: #c8cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#acb828",
  "rgb": {
    "r": 172,
    "g": 184,
    "b": 40
  },
  "hsl": {
    "h": 65,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74873,
    "c": 0.15741,
    "h": 114.5
  },
  "luminance": 0.43205
}

Semantic roles & 50–950 ramp

primary
#ACB828
secondary
#7972CA
accent
#41E74E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB828

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

Preview Lab → · Contrast checker → · Palette generator →

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