#A5AC24#A5AC24

#A5AC24 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.149 H 112.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#A5AC24
RGBrgb(165, 172, 36)
HSLhsl(63, 65%, 41%)
HSVhsv(63, 79%, 67%)
CMYKcmyk(4.1%, 0%, 79.1%, 32.5%)
CIE-LABlab(67.75, -18.34, 63.07)
CIE-LCHlch(67.75, 65.68, 106.22°)
OKLaboklab(71.57% -0.0574 0.1373)
OKLCHoklch(71.57% 0.149 112.7)
XYZxyz(30.5890, 37.6325, 7.3212)
Luminance0.3763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC24 #2B24AC
analogous
#AC6F24 #A5AC24 #61AC24
triadic
#A5AC24 #24A5AC #AC24A5
tetradic
#A5AC24 #24AC6F #2B24AC #AC2461
square
#A5AC24 #24AC6F #2B24AC #AC2461
split-complementary
#A5AC24 #2461AC #6F24AC
monochromatic
#44470F #747919 #A5AC24 #CDD538 #DAE06A

Accessibility & contrast

On white

2.46
#A5AC24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#A5AC24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AC24
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AC24#FFFFFF#000000##000000
##A5AC241.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A400
Deuteranopia (green-blind)
#BAA631
Tritanopia (blue-blind)
#B1A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac24;
/* rgb */ color: rgb(165, 172, 36);
/* oklch */ color: oklch(71.6% 0.149 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c46c',
    500: '#a5ac24',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac24;
$custom-light: #c3c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac24",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 36
  },
  "hsl": {
    "h": 63.088,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71569,
    "c": 0.1488,
    "h": 112.7
  },
  "luminance": 0.37632
}

Semantic roles & 50–950 ramp

primary
#A5AC24
secondary
#6B66C6
accent
#3FE848
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AC24

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

Preview Lab → · Contrast checker → · Palette generator →

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