#ACB128#ACB128

#ACB128 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.3% C 0.150 H 111.7°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#ACB128
RGBrgb(172, 177, 40)
HSLhsl(62, 63%, 43%)
HSVhsv(62, 77%, 69%)
CMYKcmyk(2.8%, 0%, 77.4%, 30.6%)
CIE-LABlab(69.73, -17.69, 63.86)
CIE-LCHlch(69.73, 66.26, 105.48°)
OKLaboklab(73.3% -0.0556 0.1394)
OKLCHoklch(73.3% 0.15 111.7)
XYZxyz(33.1195, 40.3690, 8.0544)
Luminance0.4037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB128 #2D28B1
analogous
#B17228 #ACB128 #67B128
triadic
#ACB128 #28ACB1 #B128AC
tetradic
#ACB128 #28B172 #2D28B1 #B12867
square
#ACB128 #28B172 #2D28B1 #B12867
split-complementary
#ACB128 #2867B1 #7228B1
monochromatic
#4B4D11 #7B7F1D #ACB128 #CFD442 #DCE074

Accessibility & contrast

On white

2.31
#ACB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#ACB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB128
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB128#FFFFFF#000000##000000
##ACB1281.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#B8A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #acb128;
/* rgb */ color: rgb(172, 177, 40);
/* oklch */ color: oklch(73.3% 0.150 111.7);
Tailwind
colors: {
  custom: {
    50: '#c8c86e',
    500: '#acb128',
    950: '#000000',
  },
}
SCSS
$custom: #acb128;
$custom-light: #c8c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#acb128",
  "rgb": {
    "r": 172,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 62.19,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.733,
    "c": 0.15011,
    "h": 111.7
  },
  "luminance": 0.40368
}

Semantic roles & 50–950 ramp

primary
#ACB128
secondary
#716EC7
accent
#42E648
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ACB128

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

Preview Lab → · Contrast checker → · Palette generator →

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