#A5AC37#A5AC37

#A5AC37 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.7% C 0.138 H 112.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#A5AC37
RGBrgb(165, 172, 55)
HSLhsl(64, 52%, 45%)
HSVhsv(64, 68%, 67%)
CMYKcmyk(4.1%, 0%, 68%, 32.5%)
CIE-LABlab(67.86, -17.43, 56.58)
CIE-LCHlch(67.86, 59.21, 107.12°)
OKLaboklab(71.69% -0.0531 0.1269)
OKLCHoklch(71.69% 0.138 112.7)
XYZxyz(30.9601, 37.7809, 9.2752)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC37 #3E37AC
analogous
#AC7937 #A5AC37 #6AAC37
triadic
#A5AC37 #37A5AC #AC37A5
tetradic
#A5AC37 #37AC79 #3E37AC #AC376A
square
#A5AC37 #37AC79 #3E37AC #AC376A
split-complementary
#A5AC37 #376AAC #7937AC
monochromatic
#4C4F19 #797E28 #A5AC37 #C2C957 #D3D885

Accessibility & contrast

On white

2.45
#A5AC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#A5AC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AC37
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AC37#FFFFFF#000000##000000
##A5AC371.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A425
Deuteranopia (green-blind)
#B9A73F
Tritanopia (blue-blind)
#B0A295
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac37;
/* rgb */ color: rgb(165, 172, 55);
/* oklch */ color: oklch(71.7% 0.138 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c475',
    500: '#a5ac37',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac37;
$custom-light: #c3c475;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac37",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 63.59,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71692,
    "c": 0.1376,
    "h": 112.7
  },
  "luminance": 0.3778
}

Semantic roles & 50–950 ramp

primary
#A5AC37
secondary
#817DC2
accent
#4DDB55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A5AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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