#A5AF35#A5AF35

#A5AF35 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.142 H 114.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A5AF35
RGBrgb(165, 175, 53)
HSLhsl(65, 54%, 45%)
HSVhsv(65, 70%, 69%)
CMYKcmyk(5.7%, 0%, 69.7%, 31.4%)
CIE-LABlab(68.69, -19.07, 58.19)
CIE-LCHlch(68.69, 61.24, 108.14°)
OKLaboklab(72.36% -0.0579 0.13)
OKLCHoklch(72.36% 0.142 114)
XYZxyz(31.4905, 38.9169, 9.2203)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AF35 #3F35AF
analogous
#AF7C35 #A5AF35 #68AF35
triadic
#A5AF35 #35A5AF #AF35A5
tetradic
#A5AF35 #35AF7C #3F35AF #AF3568
square
#A5AF35 #35AF7C #3F35AF #AF3568
split-complementary
#A5AF35 #3568AF #7C35AF
monochromatic
#4C5119 #798027 #A5AF35 #C2CC56 #D3DA85

Accessibility & contrast

On white

2.39
#A5AF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A5AF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AF35
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AF35#FFFFFF#000000##000000
##A5AF351.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA621
Deuteranopia (green-blind)
#BBA93E
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5af35;
/* rgb */ color: rgb(165, 175, 53);
/* oklch */ color: oklch(72.4% 0.142 114.0);
Tailwind
colors: {
  custom: {
    50: '#c3c674',
    500: '#a5af35',
    950: '#000000',
  },
}
SCSS
$custom: #a5af35;
$custom-light: #c3c674;
$custom-dark: #000000;
JSON
{
  "hex": "#a5af35",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 64.918,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72355,
    "c": 0.1423,
    "h": 114
  },
  "luminance": 0.38916
}

Semantic roles & 50–950 ramp

primary
#A5AF35
secondary
#827CC4
accent
#4BDD57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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