#A5AC23#A5AC23

#A5AC23 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#A5AC23
RGBrgb(165, 172, 35)
HSLhsl(63, 66%, 41%)
HSVhsv(63, 80%, 67%)
CMYKcmyk(4.1%, 0%, 79.7%, 32.5%)
CIE-LABlab(67.74, -18.38, 63.35)
CIE-LCHlch(67.74, 65.97, 106.18°)
OKLaboklab(71.56% -0.0576 0.1377)
OKLCHoklch(71.56% 0.149 112.7)
XYZxyz(30.5740, 37.6265, 7.2419)
Luminance0.3763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC23 #2A23AC
analogous
#AC6F23 #A5AC23 #60AC23
triadic
#A5AC23 #23A5AC #AC23A5
tetradic
#A5AC23 #23AC6F #2A23AC #AC2360
square
#A5AC23 #23AC6F #2A23AC #AC2360
split-complementary
#A5AC23 #2360AC #6F23AC
monochromatic
#43460E #747919 #A5AC23 #CED636 #DAE069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AC23#FFFFFF#000000##000000
##A5AC231.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)
#BAA400
Deuteranopia (green-blind)
#BAA630
Tritanopia (blue-blind)
#B1A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac23;
/* rgb */ color: rgb(165, 172, 35);
/* oklch */ color: oklch(71.6% 0.149 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c46b',
    500: '#a5ac23',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac23;
$custom-light: #c3c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac23",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 63.066,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.14928,
    "h": 112.7
  },
  "luminance": 0.37626
}

Semantic roles & 50–950 ramp

primary
#A5AC23
secondary
#6964C6
accent
#3FE947
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AC23

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

Preview Lab → · Contrast checker → · Palette generator →

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