#A5AC27#A5AC27

#A5AC27 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#A5AC27
RGBrgb(165, 172, 39)
HSLhsl(63, 63%, 41%)
HSVhsv(63, 77%, 67%)
CMYKcmyk(4.1%, 0%, 77.3%, 32.5%)
CIE-LABlab(67.76, -18.22, 62.17)
CIE-LCHlch(67.76, 64.79, 106.34°)
OKLaboklab(71.58% -0.0568 0.1359)
OKLCHoklch(71.58% 0.147 112.7)
XYZxyz(30.6368, 37.6516, 7.5727)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC27 #2E27AC
analogous
#AC7127 #A5AC27 #63AC27
triadic
#A5AC27 #27A5AC #AC27A5
tetradic
#A5AC27 #27AC71 #2E27AC #AC2763
square
#A5AC27 #27AC71 #2E27AC #AC2763
split-complementary
#A5AC27 #2763AC #7127AC
monochromatic
#454810 #757A1C #A5AC27 #CBD33D #D8DE6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AC27#FFFFFF#000000##000000
##A5AC271.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)
#BAA633
Tritanopia (blue-blind)
#B1A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac27;
/* rgb */ color: rgb(165, 172, 39);
/* oklch */ color: oklch(71.6% 0.147 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c46d',
    500: '#a5ac27',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac27;
$custom-light: #c3c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac27",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 63.158,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71585,
    "c": 0.14733,
    "h": 112.7
  },
  "luminance": 0.37651
}

Semantic roles & 50–950 ramp

primary
#A5AC27
secondary
#6F6AC5
accent
#42E64A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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