#A5AC28#A5AC28

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

Color values

HEX#A5AC28
RGBrgb(165, 172, 40)
HSLhsl(63, 62%, 42%)
HSVhsv(63, 77%, 67%)
CMYKcmyk(4.1%, 0%, 76.7%, 32.5%)
CIE-LABlab(67.77, -18.18, 61.86)
CIE-LCHlch(67.77, 64.48, 106.38°)
OKLaboklab(71.59% -0.0566 0.1354)
OKLCHoklch(71.59% 0.147 112.7)
XYZxyz(30.6536, 37.6583, 7.6611)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC28 #2F28AC
analogous
#AC7128 #A5AC28 #63AC28
triadic
#A5AC28 #28A5AC #AC28A5
tetradic
#A5AC28 #28AC71 #2F28AC #AC2863
square
#A5AC28 #28AC71 #2F28AC #AC2863
split-complementary
#A5AC28 #2863AC #7128AC
monochromatic
#464911 #757A1C #A5AC28 #CBD23F #D8DE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AC28#FFFFFF#000000##000000
##A5AC281.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)
#B9A403
Deuteranopia (green-blind)
#BAA634
Tritanopia (blue-blind)
#B1A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac28;
/* rgb */ color: rgb(165, 172, 40);
/* oklch */ color: oklch(71.6% 0.147 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c46d',
    500: '#a5ac28',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac28;
$custom-light: #c3c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac28",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 63.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71591,
    "c": 0.14681,
    "h": 112.7
  },
  "luminance": 0.37658
}

Semantic roles & 50–950 ramp

primary
#A5AC28
secondary
#706BC5
accent
#42E54B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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