#ACB731#ACB731

#ACB731 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.7% C 0.152 H 114.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#ACB731
RGBrgb(172, 183, 49)
HSLhsl(65, 58%, 45%)
HSVhsv(65, 73%, 72%)
CMYKcmyk(6%, 0%, 73.2%, 28.2%)
CIE-LABlab(71.46, -20.31, 62.52)
CIE-LCHlch(71.46, 65.74, 107.99°)
OKLaboklab(74.7% -0.0621 0.1382)
OKLCHoklch(74.7% 0.152 114.2)
XYZxyz(34.5021, 42.8600, 9.3604)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB731 #3C31B7
analogous
#B77F31 #ACB731 #69B731
triadic
#ACB731 #31ACB7 #B731AC
tetradic
#ACB731 #31B77F #3C31B7 #B73169
square
#ACB731 #31B77F #3C31B7 #B73169
split-complementary
#ACB731 #3169B7 #7F31B7
monochromatic
#515617 #7F8724 #ACB731 #C7D154 #D7DE84

Accessibility & contrast

On white

2.19
#ACB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#ACB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB731
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB731#FFFFFF#000000##000000
##ACB7311.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE16
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#B7AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #acb731;
/* rgb */ color: rgb(172, 183, 49);
/* oklch */ color: oklch(74.7% 0.152 114.2);
Tailwind
colors: {
  custom: {
    50: '#c8cc73',
    500: '#acb731',
    950: '#000000',
  },
}
SCSS
$custom: #acb731;
$custom-light: #c8cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#acb731",
  "rgb": {
    "r": 172,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 64.925,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.747,
    "c": 0.15153,
    "h": 114.2
  },
  "luminance": 0.42859
}

Semantic roles & 50–950 ramp

primary
#ACB731
secondary
#827CC8
accent
#47E153
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #ACB731

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

Preview Lab → · Contrast checker → · Palette generator →

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