#A1AC38#A1AC38

#A1AC38 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.138 H 114.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A1AC38
RGBrgb(161, 172, 56)
HSLhsl(66, 51%, 45%)
HSVhsv(66, 67%, 67%)
CMYKcmyk(6.4%, 0%, 67.4%, 32.5%)
CIE-LABlab(67.55, -19.08, 55.77)
CIE-LCHlch(67.55, 58.95, 108.89°)
OKLaboklab(71.37% -0.0574 0.1255)
OKLCHoklch(71.37% 0.138 114.6)
XYZxyz(30.1651, 37.3682, 9.3643)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1AC38 #4338AC
analogous
#AC7D38 #A1AC38 #67AC38
triadic
#A1AC38 #38A1AC #AC38A1
tetradic
#A1AC38 #38AC7D #4338AC #AC3867
square
#A1AC38 #38AC7D #4338AC #AC3867
split-complementary
#A1AC38 #3867AC #7D38AC
monochromatic
#4B501A #767E29 #A1AC38 #BEC958 #D0D887

Accessibility & contrast

On white

2.48
#A1AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A1AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1AC38
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1AC38#FFFFFF#000000##000000
##A1AC381.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A427
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#ABA295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a1ac38;
/* rgb */ color: rgb(161, 172, 56);
/* oklch */ color: oklch(71.4% 0.138 114.6);
Tailwind
colors: {
  custom: {
    50: '#c0c475',
    500: '#a1ac38',
    950: '#000000',
  },
}
SCSS
$custom: #a1ac38;
$custom-light: #c0c475;
$custom-dark: #000000;
JSON
{
  "hex": "#a1ac38",
  "rgb": {
    "r": 161,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 65.69,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71372,
    "c": 0.138,
    "h": 114.6
  },
  "luminance": 0.37368
}

Semantic roles & 50–950 ramp

primary
#A1AC38
secondary
#847EC2
accent
#4DDA5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A1AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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