#ACB126#ACB126

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

Color values

HEX#ACB126
RGBrgb(172, 177, 38)
HSLhsl(62, 65%, 42%)
HSVhsv(62, 79%, 69%)
CMYKcmyk(2.8%, 0%, 78.5%, 30.6%)
CIE-LABlab(69.72, -17.76, 64.45)
CIE-LCHlch(69.72, 66.85, 105.41°)
OKLaboklab(73.29% -0.056 0.1403)
OKLCHoklch(73.29% 0.151 111.8)
XYZxyz(33.0864, 40.3557, 7.8799)
Luminance0.4036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB126 #2B26B1
analogous
#B17026 #ACB126 #67B126
triadic
#ACB126 #26ACB1 #B126AC
tetradic
#ACB126 #26B170 #2B26B1 #B12667
square
#ACB126 #26B170 #2B26B1 #B12667
split-complementary
#ACB126 #2667B1 #7026B1
monochromatic
#4A4C10 #7B7F1B #ACB126 #D0D63F #DCE071

Accessibility & contrast

On white

2.32
#ACB126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ACB126#FFFFFF#000000##000000
##ACB1261.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acb126;
/* rgb */ color: rgb(172, 177, 38);
/* oklch */ color: oklch(73.3% 0.151 111.8);
Tailwind
colors: {
  custom: {
    50: '#c9c86d',
    500: '#acb126',
    950: '#000000',
  },
}
SCSS
$custom: #acb126;
$custom-light: #c9c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#acb126",
  "rgb": {
    "r": 172,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 62.158,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7329,
    "c": 0.1511,
    "h": 111.8
  },
  "luminance": 0.40355
}

Semantic roles & 50–950 ramp

primary
#ACB126
secondary
#6F6BC7
accent
#40E846
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #ACB126

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

Preview Lab → · Contrast checker → · Palette generator →

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