Puke#A5A502

#A5A502 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.152 H 109.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Puke — editorial page

Color values

HEX#A5A502
RGBrgb(165, 165, 2)
HSLhsl(60, 98%, 33%)
HSVhsv(60, 99%, 65%)
CMYKcmyk(0%, 0%, 98.8%, 35.3%)
CIE-LABlab(65.68, -15.53, 67.95)
CIE-LCHlch(65.68, 69.70, 102.88°)
OKLaboklab(69.89% -0.0514 0.143)
OKLCHoklch(69.89% 0.152 109.8)
XYZxyz(28.9844, 34.9149, 5.2699)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A502 #0202A5
analogous
#A55302 #A5A502 #53A502
triadic
#A5A502 #02A5A5 #A502A5
tetradic
#A5A502 #02A553 #0202A5 #A50253
square
#A5A502 #02A553 #0202A5 #A50253
split-complementary
#A5A502 #0253A5 #5302A5
monochromatic
#2C2C01 #696901 #A5A502 #E1E103 #FCFC25

Accessibility & contrast

On white

2.63
#A5A502 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#A5A502 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A502
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A502#FFFFFF#000000##000000
##A5A5021.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#B5A11D
Tritanopia (blue-blind)
#B2998C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a5a502;
/* rgb */ color: rgb(165, 165, 2);
/* oklch */ color: oklch(69.9% 0.152 109.8);
Tailwind
colors: {
  custom: {
    50: '#c4bf61',
    500: '#a5a502',
    950: '#000000',
  },
}
SCSS
$custom: #a5a502;
$custom-light: #c4bf61;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a502",
  "rgb": {
    "r": 165,
    "g": 165,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 97.605,
    "l": 32.745
  },
  "oklch": {
    "l": 0.69886,
    "c": 0.15196,
    "h": 109.8
  },
  "luminance": 0.34914
}

Semantic roles & 50–950 ramp

primary
#A5A502
secondary
#2C2CD7
accent
#29FF29
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #A5A502

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

Preview Lab → · Contrast checker → · Palette generator →

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