#A5AC54#A5AC54

#A5AC54 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.0% C 0.113 H 113.0°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#A5AC54
RGBrgb(165, 172, 84)
HSLhsl(65, 35%, 50%)
HSVhsv(65, 51%, 67%)
CMYKcmyk(4.1%, 0%, 51.2%, 32.5%)
CIE-LABlab(68.13, -15.25, 43.93)
CIE-LCHlch(68.13, 46.51, 109.15°)
OKLaboklab(71.99% -0.0439 0.1037)
OKLCHoklch(71.99% 0.113 113)
XYZxyz(31.8704, 38.1450, 14.0696)
Luminance0.3814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC54 #5B54AC
analogous
#AC8754 #A5AC54 #79AC54
triadic
#A5AC54 #54A5AC #AC54A5
tetradic
#A5AC54 #54AC87 #5B54AC #AC5479
square
#A5AC54 #54AC87 #5B54AC #AC5479
split-complementary
#A5AC54 #5479AC #8754AC
monochromatic
#565A2C #7E8340 #A5AC54 #BBC07D #D0D4A6

Accessibility & contrast

On white

2.43
#A5AC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#A5AC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AC54
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AC54#FFFFFF#000000##000000
##A5AC541.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54C
Deuteranopia (green-blind)
#B7A759
Tritanopia (blue-blind)
#AEA398
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a5ac54;
/* rgb */ color: rgb(165, 172, 84);
/* oklch */ color: oklch(72.0% 0.113 113.0);
Tailwind
colors: {
  custom: {
    50: '#c1c486',
    500: '#a5ac54',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac54;
$custom-light: #c1c486;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac54",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 84
  },
  "hsl": {
    "h": 64.773,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71994,
    "c": 0.11263,
    "h": 113
  },
  "luminance": 0.38144
}

Semantic roles & 50–950 ramp

primary
#A5AC54
secondary
#9D9AC2
accent
#5DCB66
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #A5AC54

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

Preview Lab → · Contrast checker → · Palette generator →

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