#A5AC34#A5AC34

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

Color values

HEX#A5AC34
RGBrgb(165, 172, 52)
HSLhsl(64, 54%, 44%)
HSVhsv(64, 70%, 67%)
CMYKcmyk(4.1%, 0%, 69.8%, 32.5%)
CIE-LABlab(67.84, -17.60, 57.73)
CIE-LCHlch(67.84, 60.35, 106.96°)
OKLaboklab(71.67% -0.0539 0.1288)
OKLCHoklch(71.67% 0.14 112.7)
XYZxyz(30.8903, 37.7530, 8.9080)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AC34 #3B34AC
analogous
#AC7734 #A5AC34 #69AC34
triadic
#A5AC34 #34A5AC #AC34A5
tetradic
#A5AC34 #34AC77 #3B34AC #AC3469
square
#A5AC34 #34AC77 #3B34AC #AC3469
split-complementary
#A5AC34 #3469AC #7734AC
monochromatic
#4B4E18 #787D26 #A5AC34 #C4CB52 #D4D981

Accessibility & contrast

On white

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

On black

8.55
#A5AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AC34
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AC34#FFFFFF#000000##000000
##A5AC341.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A420
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#B0A294
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a5ac34;
/* rgb */ color: rgb(165, 172, 52);
/* oklch */ color: oklch(71.7% 0.140 112.7);
Tailwind
colors: {
  custom: {
    50: '#c3c473',
    500: '#a5ac34',
    950: '#000000',
  },
}
SCSS
$custom: #a5ac34;
$custom-light: #c3c473;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ac34",
  "rgb": {
    "r": 165,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 63.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71669,
    "c": 0.13966,
    "h": 112.7
  },
  "luminance": 0.37752
}

Semantic roles & 50–950 ramp

primary
#A5AC34
secondary
#7E79C2
accent
#4BDD53
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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