#A5B41A#A5B41A

#A5B41A is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.3% C 0.161 H 115.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A5B41A
RGBrgb(165, 180, 26)
HSLhsl(66, 75%, 40%)
HSVhsv(66, 86%, 71%)
CMYKcmyk(8.3%, 0%, 85.6%, 29.4%)
CIE-LABlab(69.98, -22.66, 67.55)
CIE-LCHlch(69.98, 71.25, 108.55°)
OKLaboklab(73.35% -0.07 0.1453)
OKLCHoklch(73.35% 0.161 115.7)
XYZxyz(32.0257, 40.7170, 7.1492)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B41A #291AB4
analogous
#B4761A #A5B41A #58B41A
triadic
#A5B41A #1AA5B4 #B41AA5
tetradic
#A5B41A #1AB476 #291AB4 #B41A58
square
#A5B41A #1AB476 #291AB4 #B41A58
split-complementary
#A5B41A #1A58B4 #761AB4
monochromatic
#43490B #747F12 #A5B41A #CFE02B #DBE860

Accessibility & contrast

On white

2.30
#A5B41A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A5B41A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B41A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B41A#FFFFFF#000000##000000
##A5B41A1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2C
Tritanopia (blue-blind)
#B0A999
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b41a;
/* rgb */ color: rgb(165, 180, 26);
/* oklch */ color: oklch(73.3% 0.161 115.7);
Tailwind
colors: {
  custom: {
    50: '#c4ca69',
    500: '#a5b41a',
    950: '#000000',
  },
}
SCSS
$custom: #a5b41a;
$custom-light: #c4ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b41a",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 26
  },
  "hsl": {
    "h": 65.844,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.73345,
    "c": 0.16122,
    "h": 115.7
  },
  "luminance": 0.40716
}

Semantic roles & 50–950 ramp

primary
#A5B41A
secondary
#685DCC
accent
#36F149
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B41A

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

Preview Lab → · Contrast checker → · Palette generator →

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