#ACB31E#ACB31E

#ACB31E is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.157 H 112.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#ACB31E
RGBrgb(172, 179, 30)
HSLhsl(63, 71%, 41%)
HSVhsv(63, 83%, 70%)
CMYKcmyk(3.9%, 0%, 83.2%, 29.8%)
CIE-LABlab(70.25, -19.04, 67.07)
CIE-LCHlch(70.25, 69.72, 105.85°)
OKLaboklab(73.7% -0.0601 0.1446)
OKLCHoklch(73.7% 0.157 112.6)
XYZxyz(33.3689, 41.1054, 7.4044)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACB31E #251EB3
analogous
#B36F1E #ACB31E #61B31E
triadic
#ACB31E #1EACB3 #B31EAC
tetradic
#ACB31E #1EB36F #251EB3 #B31E61
square
#ACB31E #1EB36F #251EB3 #B31E61
split-complementary
#ACB31E #1E61B3 #6F1EB3
monochromatic
#474A0C #7A7F15 #ACB31E #D5DD32 #DFE566

Accessibility & contrast

On white

2.28
#ACB31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#ACB31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACB31E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACB31E#FFFFFF#000000##000000
##ACB31E1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C2AD2E
Tritanopia (blue-blind)
#B8A899
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #acb31e;
/* rgb */ color: rgb(172, 179, 30);
/* oklch */ color: oklch(73.7% 0.157 112.6);
Tailwind
colors: {
  custom: {
    50: '#c9c96a',
    500: '#acb31e',
    950: '#000000',
  },
}
SCSS
$custom: #acb31e;
$custom-light: #c9c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#acb31e",
  "rgb": {
    "r": 172,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 62.819,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73702,
    "c": 0.15655,
    "h": 112.6
  },
  "luminance": 0.41105
}

Semantic roles & 50–950 ramp

primary
#ACB31E
secondary
#6762CB
accent
#3AEE42
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ACB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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