#A5B019#A5B019

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

Color values

HEX#A5B019
RGBrgb(165, 176, 25)
HSLhsl(64, 75%, 39%)
HSVhsv(64, 86%, 69%)
CMYKcmyk(6.2%, 0%, 85.8%, 31%)
CIE-LABlab(68.84, -20.70, 66.82)
CIE-LCHlch(68.84, 69.96, 107.21°)
OKLaboklab(72.43% -0.0646 0.1435)
OKLCHoklch(72.43% 0.157 114.2)
XYZxyz(31.2189, 39.1208, 6.8260)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B019 #2419B0
analogous
#B07019 #A5B019 #5AB019
triadic
#A5B019 #19A5B0 #B019A5
tetradic
#A5B019 #19B070 #2419B0 #B0195A
square
#A5B019 #19B070 #2419B0 #B0195A
split-complementary
#A5B019 #195AB0 #7019B0
monochromatic
#41450A #737A11 #A5B019 #D3E026 #DEE85C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B019#FFFFFF#000000##000000
##A5B0191.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)
#BDA92A
Tritanopia (blue-blind)
#B1A596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b019;
/* rgb */ color: rgb(165, 176, 25);
/* oklch */ color: oklch(72.4% 0.157 114.2);
Tailwind
colors: {
  custom: {
    50: '#c4c768',
    500: '#a5b019',
    950: '#000000',
  },
}
SCSS
$custom: #a5b019;
$custom-light: #c4c768;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b019",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 25
  },
  "hsl": {
    "h": 64.371,
    "s": 75.124,
    "l": 39.412
  },
  "oklch": {
    "l": 0.7243,
    "c": 0.15739,
    "h": 114.2
  },
  "luminance": 0.3912
}

Semantic roles & 50–950 ramp

primary
#A5B019
secondary
#6259CC
accent
#36F244
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B019

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

Preview Lab → · Contrast checker → · Palette generator →

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