#A5A535#A5A535

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

Color values

HEX#A5A535
RGBrgb(165, 165, 53)
HSLhsl(60, 51%, 43%)
HSVhsv(60, 68%, 65%)
CMYKcmyk(0%, 0%, 67.9%, 35.3%)
CIE-LABlab(65.88, -13.95, 55.37)
CIE-LCHlch(65.88, 57.11, 104.14°)
OKLaboklab(70.1% -0.0436 0.1241)
OKLCHoklch(70.1% 0.131 109.4)
XYZxyz(29.6158, 35.1675, 8.5954)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A535 #3535A5
analogous
#A56D35 #A5A535 #6DA535
triadic
#A5A535 #35A5A5 #A535A5
tetradic
#A5A535 #35A56D #3535A5 #A5356D
square
#A5A535 #35A56D #3535A5 #A5356D
split-complementary
#A5A535 #356DA5 #6D35A5
monochromatic
#484817 #777726 #A5A535 #C7C750 #D6D67F

Accessibility & contrast

On white

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

On black

8.03
#A5A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A535
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A535#FFFFFF#000000##000000
##A5A5351.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5a535;
/* rgb */ color: rgb(165, 165, 53);
/* oklch */ color: oklch(70.1% 0.131 109.4);
Tailwind
colors: {
  custom: {
    50: '#c3bf73',
    500: '#a5a535',
    950: '#000000',
  },
}
SCSS
$custom: #a5a535;
$custom-light: #c3bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a535",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 60,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70105,
    "c": 0.13149,
    "h": 109.4
  },
  "luminance": 0.35167
}

Semantic roles & 50–950 ramp

primary
#A5A535
secondary
#7777BF
accent
#4DDB4D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A5A535

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

Preview Lab → · Contrast checker → · Palette generator →

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