#A5B416#A5B416

#A5B416 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#A5B416
RGBrgb(165, 180, 22)
HSLhsl(66, 78%, 40%)
HSVhsv(66, 88%, 71%)
CMYKcmyk(8.3%, 0%, 87.8%, 29.4%)
CIE-LABlab(69.97, -22.76, 68.36)
CIE-LCHlch(69.97, 72.05, 108.42°)
OKLaboklab(73.33% -0.0704 0.1464)
OKLCHoklch(73.33% 0.162 115.7)
XYZxyz(31.9841, 40.7003, 6.9300)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B416 #2516B4
analogous
#B47416 #A5B416 #56B416
triadic
#A5B416 #16A5B4 #B416A5
tetradic
#A5B416 #16B474 #2516B4 #B41656
square
#A5B416 #16B474 #2516B4 #B41656
split-complementary
#A5B416 #1656B4 #7416B4
monochromatic
#414709 #737D0F #A5B416 #D2E423 #DDEB5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a5b416;
/* rgb */ color: rgb(165, 180, 22);
/* oklch */ color: oklch(73.3% 0.162 115.7);
Tailwind
colors: {
  custom: {
    50: '#c4ca68',
    500: '#a5b416',
    950: '#000000',
  },
}
SCSS
$custom: #a5b416;
$custom-light: #c4ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b416",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 65.696,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.73332,
    "c": 0.16248,
    "h": 115.7
  },
  "luminance": 0.407
}

Semantic roles & 50–950 ramp

primary
#A5B416
secondary
#6358CE
accent
#33F545
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B416

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

Preview Lab → · Contrast checker → · Palette generator →

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