#A5AC2B#A5AC2B

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

Color values

HEX#A5AC2B
RGBrgb(165, 172, 43)
HSLhsl(63, 60%, 42%)
HSVhsv(63, 75%, 67%)
CMYKcmyk(4.1%, 0%, 75%, 32.5%)
CIE-LABlab(67.78, -18.05, 60.90)
CIE-LCHlch(67.78, 63.52, 106.51°)
OKLaboklab(71.61% -0.056 0.1339)
OKLCHoklch(71.61% 0.145 112.7)
XYZxyz(30.7066, 37.6795, 7.9403)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC2B #322BAC
analogous
#AC732B #A5AC2B #64AC2B
triadic
#A5AC2B #2BA5AC #AC2BA5
tetradic
#A5AC2B #2BAC73 #322BAC #AC2B64
square
#A5AC2B #2BAC73 #322BAC #AC2B64
split-complementary
#A5AC2B #2B64AC #732BAC
monochromatic
#474A13 #767B1F #A5AC2B #C9D044 #D7DC75

Accessibility & contrast

On white

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

On black

8.54
#A5AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AC2B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AC2B#FFFFFF#000000##000000
##A5AC2B1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40D
Deuteranopia (green-blind)
#B9A736
Tritanopia (blue-blind)
#B0A194
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac2b;
/* rgb */ color: rgb(165, 172, 43);
/* oklch */ color: oklch(71.6% 0.145 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c46f',
    500: '#a5ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac2b;
$custom-light: #c3c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac2b",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 63.256,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71608,
    "c": 0.14518,
    "h": 112.7
  },
  "luminance": 0.37679
}

Semantic roles & 50–950 ramp

primary
#A5AC2B
secondary
#736FC4
accent
#45E34D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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