#ACB331#ACB331

#ACB331 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.8% C 0.147 H 112.6°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#ACB331
RGBrgb(172, 179, 49)
HSLhsl(63, 57%, 45%)
HSVhsv(63, 73%, 70%)
CMYKcmyk(3.9%, 0%, 72.6%, 29.8%)
CIE-LABlab(70.34, -18.30, 61.45)
CIE-LCHlch(70.34, 64.12, 106.58°)
OKLaboklab(73.8% -0.0565 0.1359)
OKLCHoklch(73.8% 0.147 112.6)
XYZxyz(33.6888, 41.2334, 9.0893)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB331 #3831B3
analogous
#B37931 #ACB331 #6BB331
triadic
#ACB331 #31ACB3 #B331AC
tetradic
#ACB331 #31B379 #3831B3 #B3316B
square
#ACB331 #31B379 #3831B3 #B3316B
split-complementary
#ACB331 #316BB3 #7931B3
monochromatic
#505317 #7E8324 #ACB331 #C9D052 #D8DD82

Accessibility & contrast

On white

2.27
#ACB331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#ACB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB331
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB331#FFFFFF#000000##000000
##ACB3311.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB18
Deuteranopia (green-blind)
#C1AD3B
Tritanopia (blue-blind)
#B8A89A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb331;
/* rgb */ color: rgb(172, 179, 49);
/* oklch */ color: oklch(73.8% 0.147 112.6);
Tailwind
colors: {
  custom: {
    50: '#c8c972',
    500: '#acb331',
    950: '#000000',
  },
}
SCSS
$custom: #acb331;
$custom-light: #c8c972;
$custom-dark: #000000;
JSON
{
  "hex": "#acb331",
  "rgb": {
    "r": 172,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 63.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73802,
    "c": 0.14724,
    "h": 112.6
  },
  "luminance": 0.41233
}

Semantic roles & 50–950 ramp

primary
#ACB331
secondary
#7E7AC6
accent
#48E050
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB331

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

Preview Lab → · Contrast checker → · Palette generator →

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