#A5B01A#A5B01A

#A5B01A is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.157 H 114.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#A5B01A
RGBrgb(165, 176, 26)
HSLhsl(64, 74%, 40%)
HSVhsv(64, 85%, 69%)
CMYKcmyk(6.2%, 0%, 85.2%, 31%)
CIE-LABlab(68.84, -20.68, 66.60)
CIE-LCHlch(68.84, 69.74, 107.25°)
OKLaboklab(72.43% -0.0645 0.1432)
OKLCHoklch(72.43% 0.157 114.3)
XYZxyz(31.2299, 39.1252, 6.8839)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B01A #251AB0
analogous
#B0701A #A5B01A #5AB01A
triadic
#A5B01A #1AA5B0 #B01AA5
tetradic
#A5B01A #1AB070 #251AB0 #B01A5A
square
#A5B01A #1AB070 #251AB0 #B01A5A
split-complementary
#A5B01A #1A5AB0 #701AB0
monochromatic
#41450A #737B12 #A5B01A #D2DF28 #DDE75D

Accessibility & contrast

On white

2.38
#A5B01A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#A5B01A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B01A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B01A#FFFFFF#000000##000000
##A5B01A1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BDA92B
Tritanopia (blue-blind)
#B1A596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b01a;
/* rgb */ color: rgb(165, 176, 26);
/* oklch */ color: oklch(72.4% 0.157 114.3);
Tailwind
colors: {
  custom: {
    50: '#c4c768',
    500: '#a5b01a',
    950: '#000000',
  },
}
SCSS
$custom: #a5b01a;
$custom-light: #c4c768;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b01a",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 26
  },
  "hsl": {
    "h": 64.4,
    "s": 74.257,
    "l": 39.608
  },
  "oklch": {
    "l": 0.72433,
    "c": 0.15705,
    "h": 114.3
  },
  "luminance": 0.39125
}

Semantic roles & 50–950 ramp

primary
#A5B01A
secondary
#635BCB
accent
#37F145
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B01A

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

Preview Lab → · Contrast checker → · Palette generator →

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