#A5AC2A#A5AC2A

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

Color values

HEX#A5AC2A
RGBrgb(165, 172, 42)
HSLhsl(63, 61%, 42%)
HSVhsv(63, 76%, 67%)
CMYKcmyk(4.1%, 0%, 75.6%, 32.5%)
CIE-LABlab(67.78, -18.10, 61.22)
CIE-LCHlch(67.78, 63.84, 106.47°)
OKLaboklab(71.6% -0.0562 0.1345)
OKLCHoklch(71.6% 0.146 112.7)
XYZxyz(30.6885, 37.6723, 7.8449)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC2A #312AAC
analogous
#AC722A #A5AC2A #64AC2A
triadic
#A5AC2A #2AA5AC #AC2AA5
tetradic
#A5AC2A #2AAC72 #312AAC #AC2A64
square
#A5AC2A #2AAC72 #312AAC #AC2A64
split-complementary
#A5AC2A #2A64AC #722AAC
monochromatic
#474A12 #767B1E #A5AC2A #C9D142 #D7DD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5AC2A#FFFFFF#000000##000000
##A5AC2A1.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)
#B9A40A
Deuteranopia (green-blind)
#B9A735
Tritanopia (blue-blind)
#B0A194
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac2a;
/* rgb */ color: rgb(165, 172, 42);
/* oklch */ color: oklch(71.6% 0.146 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c46e',
    500: '#a5ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac2a;
$custom-light: #c3c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac2a",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 63.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71602,
    "c": 0.14574,
    "h": 112.7
  },
  "luminance": 0.37672
}

Semantic roles & 50–950 ramp

primary
#A5AC2A
secondary
#726DC4
accent
#44E44D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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