#ACBF40#ACBF40

#ACBF40 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.6% C 0.151 H 117.4°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#ACBF40
RGBrgb(172, 191, 64)
HSLhsl(69, 50%, 50%)
HSVhsv(69, 66%, 75%)
CMYKcmyk(9.9%, 0%, 66.5%, 25.1%)
CIE-LABlab(73.81, -23.43, 59.27)
CIE-LCHlch(73.81, 63.73, 111.57°)
OKLaboklab(76.61% -0.0694 0.1338)
OKLCHoklch(76.61% 0.151 117.4)
XYZxyz(36.5702, 46.4028, 11.8796)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACBF40 #5340BF
analogous
#BF9240 #ACBF40 #6DBF40
triadic
#ACBF40 #40ACBF #BF40AC
tetradic
#ACBF40 #40BF92 #5340BF #BF406D
square
#ACBF40 #40BF92 #5340BF #BF406D
split-complementary
#ACBF40 #406DBF #9240BF
monochromatic
#596321 #839131 #ACBF40 #C0CE6E #D4DE9C

Accessibility & contrast

On white

2.04
#ACBF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#ACBF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACBF40
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACBF40#FFFFFF#000000##000000
##ACBF401.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#CAB649
Tritanopia (blue-blind)
#B6B5A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #acbf40;
/* rgb */ color: rgb(172, 191, 64);
/* oklch */ color: oklch(76.6% 0.151 117.4);
Tailwind
colors: {
  custom: {
    50: '#c8d27c',
    500: '#acbf40',
    950: '#000000',
  },
}
SCSS
$custom: #acbf40;
$custom-light: #c8d27c;
$custom-dark: #000000;
JSON
{
  "hex": "#acbf40",
  "rgb": {
    "r": 172,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 68.976,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.76614,
    "c": 0.15074,
    "h": 117.4
  },
  "luminance": 0.46402
}

Semantic roles & 50–950 ramp

primary
#ACBF40
secondary
#9991CA
accent
#4ED963
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ACBF40

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

Preview Lab → · Contrast checker → · Palette generator →

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