#ACB42A#ACB42A

#ACB42A is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.0% C 0.152 H 113.0°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#ACB42A
RGBrgb(172, 180, 42)
HSLhsl(63, 62%, 44%)
HSVhsv(63, 77%, 71%)
CMYKcmyk(4.4%, 0%, 76.7%, 29.4%)
CIE-LABlab(70.58, -19.12, 64.01)
CIE-LCHlch(70.58, 66.80, 106.63°)
OKLaboklab(73.98% -0.0594 0.1401)
OKLCHoklch(73.98% 0.152 113)
XYZxyz(33.7535, 41.5811, 8.4379)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB42A #322AB4
analogous
#B4772A #ACB42A #67B42A
triadic
#ACB42A #2AACB4 #B42AAC
tetradic
#ACB42A #2AB477 #322AB4 #B42A67
square
#ACB42A #2AB477 #322AB4 #B42A67
split-complementary
#ACB42A #2A67B4 #772AB4
monochromatic
#4D5113 #7D821E #ACB42A #CCD447 #DAE079

Accessibility & contrast

On white

2.25
#ACB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#ACB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB42A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB42A#FFFFFF#000000##000000
##ACB42A1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB03
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#B8A99A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #acb42a;
/* rgb */ color: rgb(172, 180, 42);
/* oklch */ color: oklch(74.0% 0.152 113.0);
Tailwind
colors: {
  custom: {
    50: '#c8ca6f',
    500: '#acb42a',
    950: '#000000',
  },
}
SCSS
$custom: #acb42a;
$custom-light: #c8ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#acb42a",
  "rgb": {
    "r": 172,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 63.478,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73984,
    "c": 0.1522,
    "h": 113
  },
  "luminance": 0.4158
}

Semantic roles & 50–950 ramp

primary
#ACB42A
secondary
#7772C8
accent
#43E54C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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