#ACB940#ACB940

#ACB940 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.144 H 115.2°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#ACB940
RGBrgb(172, 185, 64)
HSLhsl(66, 49%, 49%)
HSVhsv(66, 65%, 73%)
CMYKcmyk(7%, 0%, 65.4%, 27.5%)
CIE-LABlab(72.12, -20.47, 57.52)
CIE-LCHlch(72.12, 61.06, 109.59°)
OKLaboklab(75.26% -0.0611 0.1301)
OKLCHoklch(75.26% 0.144 115.2)
XYZxyz(35.2885, 43.8393, 11.4524)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB940 #4D40B9
analogous
#B98A40 #ACB940 #70B940
triadic
#ACB940 #40ACB9 #B940AC
tetradic
#ACB940 #40B98A #4D40B9 #B94070
square
#ACB940 #40B98A #4D40B9 #B94070
split-complementary
#ACB940 #4070B9 #8A40B9
monochromatic
#575E21 #828C30 #ACB940 #C1CC6B #D4DB98

Accessibility & contrast

On white

2.15
#ACB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#ACB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB940
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB940#FFFFFF#000000##000000
##ACB9401.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#B7AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #acb940;
/* rgb */ color: rgb(172, 185, 64);
/* oklch */ color: oklch(75.3% 0.144 115.2);
Tailwind
colors: {
  custom: {
    50: '#c8cd7b',
    500: '#acb940',
    950: '#000000',
  },
}
SCSS
$custom: #acb940;
$custom-light: #c8cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#acb940",
  "rgb": {
    "r": 172,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 66.446,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75262,
    "c": 0.14378,
    "h": 115.2
  },
  "luminance": 0.43839
}

Semantic roles & 50–950 ramp

primary
#ACB940
secondary
#948EC7
accent
#50D85E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ACB940

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

Preview Lab → · Contrast checker → · Palette generator →

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