#ACB242#ACB242

#ACB242 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.7% C 0.134 H 112.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#ACB242
RGBrgb(172, 178, 66)
HSLhsl(63, 46%, 48%)
HSVhsv(63, 63%, 70%)
CMYKcmyk(3.4%, 0%, 62.9%, 30.2%)
CIE-LABlab(70.18, -16.81, 54.65)
CIE-LCHlch(70.18, 57.18, 107.10°)
OKLaboklab(73.71% -0.0507 0.1244)
OKLCHoklch(73.71% 0.134 112.2)
XYZxyz(33.9179, 41.0055, 11.2813)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB242 #4842B2
analogous
#B28042 #ACB242 #74B242
triadic
#ACB242 #42ACB2 #B242AC
tetradic
#ACB242 #42B280 #4842B2 #B24274
square
#ACB242 #42B280 #4842B2 #B24274
split-complementary
#ACB242 #4274B2 #8042B2
monochromatic
#565921 #818531 #ACB242 #C3C86A #D5D896

Accessibility & contrast

On white

2.28
#ACB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#ACB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB242
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB242#FFFFFF#000000##000000
##ACB2421.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#BFAD49
Tritanopia (blue-blind)
#B7A89B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb242;
/* rgb */ color: rgb(172, 178, 66);
/* oklch */ color: oklch(73.7% 0.134 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c87c',
    500: '#acb242',
    950: '#000000',
  },
}
SCSS
$custom: #acb242;
$custom-light: #c7c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#acb242",
  "rgb": {
    "r": 172,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 63.214,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73713,
    "c": 0.1343,
    "h": 112.2
  },
  "luminance": 0.41005
}

Semantic roles & 50–950 ramp

primary
#ACB242
secondary
#8F8CC4
accent
#52D659
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ACB242

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

Preview Lab → · Contrast checker → · Palette generator →

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