#ACB840#ACB840

#ACB840 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.0% C 0.143 H 114.8°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#ACB840
RGBrgb(172, 184, 64)
HSLhsl(66, 48%, 49%)
HSVhsv(66, 65%, 72%)
CMYKcmyk(6.5%, 0%, 65.2%, 27.8%)
CIE-LABlab(71.84, -19.97, 57.23)
CIE-LCHlch(71.84, 60.62, 109.23°)
OKLaboklab(75.04% -0.0597 0.1295)
OKLCHoklch(75.04% 0.143 114.8)
XYZxyz(35.0800, 43.4224, 11.3829)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB840 #4C40B8
analogous
#B88840 #ACB840 #70B840
triadic
#ACB840 #40ACB8 #B840AC
tetradic
#ACB840 #40B888 #4C40B8 #B84070
square
#ACB840 #40B888 #4C40B8 #B84070
split-complementary
#ACB840 #4070B8 #8840B8
monochromatic
#575D20 #828B30 #ACB840 #C1CB6A #D4DB97

Accessibility & contrast

On white

2.17
#ACB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#ACB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB840
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB840#FFFFFF#000000##000000
##ACB8401.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#B7AE9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #acb840;
/* rgb */ color: rgb(172, 184, 64);
/* oklch */ color: oklch(75.0% 0.143 114.8);
Tailwind
colors: {
  custom: {
    50: '#c8cd7b',
    500: '#acb840',
    950: '#000000',
  },
}
SCSS
$custom: #acb840;
$custom-light: #c8cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#acb840",
  "rgb": {
    "r": 172,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 66,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75038,
    "c": 0.14263,
    "h": 114.8
  },
  "luminance": 0.43422
}

Semantic roles & 50–950 ramp

primary
#ACB840
secondary
#938DC7
accent
#50D85D
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ACB840

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

Preview Lab → · Contrast checker → · Palette generator →

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