#A5A536#A5A536

#A5A536 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.131 H 109.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#A5A536
RGBrgb(165, 165, 54)
HSLhsl(60, 51%, 43%)
HSVhsv(60, 67%, 65%)
CMYKcmyk(0%, 0%, 67.3%, 35.3%)
CIE-LABlab(65.89, -13.90, 54.98)
CIE-LCHlch(65.89, 56.71, 104.18°)
OKLaboklab(70.11% -0.0433 0.1234)
OKLCHoklch(70.11% 0.131 109.3)
XYZxyz(29.6390, 35.1768, 8.7178)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A536 #3636A5
analogous
#A56D36 #A5A536 #6DA536
triadic
#A5A536 #36A5A5 #A536A5
tetradic
#A5A536 #36A56D #3636A5 #A5366D
square
#A5A536 #36A56D #3636A5 #A5366D
split-complementary
#A5A536 #366DA5 #6D36A5
monochromatic
#494918 #777727 #A5A536 #C6C652 #D5D580

Accessibility & contrast

On white

2.61
#A5A536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#A5A536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A536
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A536#FFFFFF#000000##000000
##A5A5361.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E26
Deuteranopia (green-blind)
#B4A23E
Tritanopia (blue-blind)
#B19B8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a536;
/* rgb */ color: rgb(165, 165, 54);
/* oklch */ color: oklch(70.1% 0.131 109.3);
Tailwind
colors: {
  custom: {
    50: '#c3bf74',
    500: '#a5a536',
    950: '#000000',
  },
}
SCSS
$custom: #a5a536;
$custom-light: #c3bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a536",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70113,
    "c": 0.13077,
    "h": 109.3
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

primary
#A5A536
secondary
#7878BF
accent
#4EDA4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A536

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

Preview Lab → · Contrast checker → · Palette generator →

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