#A5AF23#A5AF23

#A5AF23 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.152 H 113.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A5AF23
RGBrgb(165, 175, 35)
HSLhsl(64, 67%, 41%)
HSVhsv(64, 80%, 69%)
CMYKcmyk(5.7%, 0%, 80%, 31.4%)
CIE-LABlab(68.59, -19.89, 64.11)
CIE-LCHlch(68.59, 67.12, 107.24°)
OKLaboklab(72.24% -0.0617 0.1393)
OKLCHoklch(72.24% 0.152 113.9)
XYZxyz(31.1514, 38.7813, 7.4343)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5AF23 #2D23AF
analogous
#AF7323 #A5AF23 #5FAF23
triadic
#A5AF23 #23A5AF #AF23A5
tetradic
#A5AF23 #23AF73 #2D23AF #AF235F
square
#A5AF23 #23AF73 #2D23AF #AF235F
split-complementary
#A5AF23 #235FAF #7323AF
monochromatic
#45490F #757C19 #A5AF23 #CCD738 #D9E16B

Accessibility & contrast

On white

2.40
#A5AF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A5AF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5AF23
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5AF23#FFFFFF#000000##000000
##A5AF231.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA931
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a5af23;
/* rgb */ color: rgb(165, 175, 35);
/* oklch */ color: oklch(72.2% 0.152 113.9);
Tailwind
colors: {
  custom: {
    50: '#c3c66c',
    500: '#a5af23',
    950: '#000000',
  },
}
SCSS
$custom: #a5af23;
$custom-light: #c3c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5af23",
  "rgb": {
    "r": 165,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 64.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.1524,
    "h": 113.9
  },
  "luminance": 0.38781
}

Semantic roles & 50–950 ramp

primary
#A5AF23
secondary
#6D66C7
accent
#3EEA4A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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