#A5B419#A5B419

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

Color values

HEX#A5B419
RGBrgb(165, 180, 25)
HSLhsl(66, 76%, 40%)
HSVhsv(66, 86%, 71%)
CMYKcmyk(8.3%, 0%, 86.1%, 29.4%)
CIE-LABlab(69.97, -22.69, 67.76)
CIE-LCHlch(69.97, 71.46, 108.51°)
OKLaboklab(73.34% -0.0701 0.1456)
OKLCHoklch(73.34% 0.162 115.7)
XYZxyz(32.0147, 40.7126, 7.0913)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B419 #2819B4
analogous
#B47519 #A5B419 #58B419
triadic
#A5B419 #19A5B4 #B419A5
tetradic
#A5B419 #19B475 #2819B4 #B41958
square
#A5B419 #19B475 #2819B4 #B41958
split-complementary
#A5B419 #1958B4 #7519B4
monochromatic
#42490A #747E12 #A5B419 #CFE129 #DBE95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B419#FFFFFF#000000##000000
##A5B4191.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)
#C0AC2B
Tritanopia (blue-blind)
#B0A999
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b419;
/* rgb */ color: rgb(165, 180, 25);
/* oklch */ color: oklch(73.3% 0.162 115.7);
Tailwind
colors: {
  custom: {
    50: '#c4ca69',
    500: '#a5b419',
    950: '#000000',
  },
}
SCSS
$custom: #a5b419;
$custom-light: #c4ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b419",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 25
  },
  "hsl": {
    "h": 65.806,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.16155,
    "h": 115.7
  },
  "luminance": 0.40712
}

Semantic roles & 50–950 ramp

primary
#A5B419
secondary
#675CCD
accent
#36F248
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B419

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

Preview Lab → · Contrast checker → · Palette generator →

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