#ACB040#ACB040

#ACB040 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.2% C 0.134 H 111.2°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#ACB040
RGBrgb(172, 176, 64)
HSLhsl(62, 47%, 47%)
HSVhsv(62, 64%, 69%)
CMYKcmyk(2.3%, 0%, 63.6%, 31%)
CIE-LABlab(69.61, -15.93, 54.89)
CIE-LCHlch(69.61, 57.15, 106.18°)
OKLaboklab(73.25% -0.0484 0.1246)
OKLCHoklch(73.25% 0.134 111.2)
XYZxyz(33.4650, 40.1923, 10.8445)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB040 #4440B0
analogous
#B07C40 #ACB040 #74B040
triadic
#ACB040 #40ACB0 #B040AC
tetradic
#ACB040 #40B07C #4440B0 #B04074
square
#ACB040 #40B07C #4440B0 #B04074
split-complementary
#ACB040 #4074B0 #7C40B0
monochromatic
#54561F #808330 #ACB040 #C4C766 #D5D893

Accessibility & contrast

On white

2.32
#ACB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#ACB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB040
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB040#FFFFFF#000000##000000
##ACB0401.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#BEAC47
Tritanopia (blue-blind)
#B7A699
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #acb040;
/* rgb */ color: rgb(172, 176, 64);
/* oklch */ color: oklch(73.2% 0.134 111.2);
Tailwind
colors: {
  custom: {
    50: '#c7c77a',
    500: '#acb040',
    950: '#000000',
  },
}
SCSS
$custom: #acb040;
$custom-light: #c7c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#acb040",
  "rgb": {
    "r": 172,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 62.143,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73249,
    "c": 0.13365,
    "h": 111.2
  },
  "luminance": 0.40191
}

Semantic roles & 50–950 ramp

primary
#ACB040
secondary
#8B89C3
accent
#51D656
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ACB040

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

Preview Lab → · Contrast checker → · Palette generator →

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