#ACB42F#ACB42F

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

Color values

HEX#ACB42F
RGBrgb(172, 180, 47)
HSLhsl(64, 59%, 45%)
HSVhsv(64, 74%, 71%)
CMYKcmyk(4.4%, 0%, 73.9%, 29.4%)
CIE-LABlab(70.61, -18.90, 62.40)
CIE-LCHlch(70.61, 65.20, 106.85°)
OKLaboklab(74.01% -0.0584 0.1376)
OKLCHoklch(74.01% 0.149 113)
XYZxyz(33.8487, 41.6192, 8.9390)
Luminance0.4162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB42F #372FB4
analogous
#B47A2F #ACB42F #6AB42F
triadic
#ACB42F #2FACB4 #B42FAC
tetradic
#ACB42F #2FB47A #372FB4 #B42F6A
square
#ACB42F #2FB47A #372FB4 #B42F6A
split-complementary
#ACB42F #2F6AB4 #7A2FB4
monochromatic
#4F5316 #7E8322 #ACB42F #C9D14F #D8DE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACB42F#FFFFFF#000000##000000
##ACB42F1.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)
#C2AB13
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#B8A99B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #acb42f;
/* rgb */ color: rgb(172, 180, 47);
/* oklch */ color: oklch(74.0% 0.149 113.0);
Tailwind
colors: {
  custom: {
    50: '#c8ca72',
    500: '#acb42f',
    950: '#000000',
  },
}
SCSS
$custom: #acb42f;
$custom-light: #c8ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#acb42f",
  "rgb": {
    "r": 172,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 63.609,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74013,
    "c": 0.14948,
    "h": 113
  },
  "luminance": 0.41618
}

Semantic roles & 50–950 ramp

primary
#ACB42F
secondary
#7D78C7
accent
#46E24F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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