#A5AC22#A5AC22

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

Color values

HEX#A5AC22
RGBrgb(165, 172, 34)
HSLhsl(63, 67%, 40%)
HSVhsv(63, 80%, 67%)
CMYKcmyk(4.1%, 0%, 80.2%, 32.5%)
CIE-LABlab(67.74, -18.41, 63.64)
CIE-LCHlch(67.74, 66.25, 106.14°)
OKLaboklab(71.56% -0.0577 0.1382)
OKLCHoklch(71.56% 0.15 112.7)
XYZxyz(30.5593, 37.6206, 7.1648)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC22 #2922AC
analogous
#AC6E22 #A5AC22 #60AC22
triadic
#A5AC22 #22A5AC #AC22A5
tetradic
#A5AC22 #22AC6E #2922AC #AC2260
square
#A5AC22 #22AC6E #2922AC #AC2260
split-complementary
#A5AC22 #2260AC #6E22AC
monochromatic
#43460E #747918 #A5AC22 #CFD734 #DBE167

Accessibility & contrast

On white

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

On black

8.52
#A5AC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AC22
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AC22#FFFFFF#000000##000000
##A5AC221.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5ac22;
/* rgb */ color: rgb(165, 172, 34);
/* oklch */ color: oklch(71.6% 0.150 112.7);
Tailwind
colors: {
  custom: {
    50: '#c4c46b',
    500: '#a5ac22',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac22;
$custom-light: #c4c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac22",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 63.043,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71559,
    "c": 0.14973,
    "h": 112.7
  },
  "luminance": 0.3762
}

Semantic roles & 50–950 ramp

primary
#A5AC22
secondary
#6863C7
accent
#3EEA47
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A5AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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