#ACBF31#ACBF31

#ACBF31 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.5% C 0.160 H 117.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#ACBF31
RGBrgb(172, 191, 49)
HSLhsl(68, 59%, 47%)
HSVhsv(68, 74%, 75%)
CMYKcmyk(9.9%, 0%, 74.3%, 25.1%)
CIE-LABlab(73.71, -24.25, 64.66)
CIE-LCHlch(73.71, 69.06, 110.56°)
OKLaboklab(76.51% -0.073 0.1427)
OKLCHoklch(76.51% 0.16 117.1)
XYZxyz(36.1993, 46.2545, 9.9262)
Luminance0.4625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACBF31 #4431BF
analogous
#BF8B31 #ACBF31 #65BF31
triadic
#ACBF31 #31ACBF #BF31AC
tetradic
#ACBF31 #31BF8B #4431BF #BF3165
square
#ACBF31 #31BF8B #4431BF #BF3165
split-complementary
#ACBF31 #3165BF #8B31BF
monochromatic
#545E18 #808E25 #ACBF31 #C4D459 #D5E18A

Accessibility & contrast

On white

2.05
#ACBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#ACBF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACBF31
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACBF31#FFFFFF#000000##000000
##ACBF311.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB511
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#B7B4A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #acbf31;
/* rgb */ color: rgb(172, 191, 49);
/* oklch */ color: oklch(76.5% 0.160 117.1);
Tailwind
colors: {
  custom: {
    50: '#c8d274',
    500: '#acbf31',
    950: '#000000',
  },
}
SCSS
$custom: #acbf31;
$custom-light: #c8d274;
$custom-dark: #000000;
JSON
{
  "hex": "#acbf31",
  "rgb": {
    "r": 172,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 68.028,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76507,
    "c": 0.16033,
    "h": 117.1
  },
  "luminance": 0.46254
}

Semantic roles & 50–950 ramp

primary
#ACBF31
secondary
#8B81CB
accent
#45E25A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ACBF31

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

Preview Lab → · Contrast checker → · Palette generator →

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