#A5B316#A5B316

#A5B316 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.161 H 115.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A5B316
RGBrgb(165, 179, 22)
HSLhsl(65, 78%, 39%)
HSVhsv(65, 88%, 70%)
CMYKcmyk(7.8%, 0%, 87.7%, 29.8%)
CIE-LABlab(69.68, -22.27, 68.13)
CIE-LCHlch(69.68, 71.68, 108.10°)
OKLaboklab(73.1% -0.0691 0.1459)
OKLCHoklch(73.1% 0.161 115.3)
XYZxyz(31.7830, 40.2980, 6.8629)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B316 #2416B3
analogous
#B37216 #A5B316 #57B316
triadic
#A5B316 #16A5B3 #B316A5
tetradic
#A5B316 #16B372 #2416B3 #B31657
square
#A5B316 #16B372 #2416B3 #B31657
split-complementary
#A5B316 #1657B3 #7216B3
monochromatic
#414609 #737C0F #A5B316 #D3E422 #DEEB59

Accessibility & contrast

On white

2.32
#A5B316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A5B316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B316
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B316#FFFFFF#000000##000000
##A5B3161.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C0AB2A
Tritanopia (blue-blind)
#B0A898
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b316;
/* rgb */ color: rgb(165, 179, 22);
/* oklch */ color: oklch(73.1% 0.161 115.3);
Tailwind
colors: {
  custom: {
    50: '#c4c968',
    500: '#a5b316',
    950: '#000000',
  },
}
SCSS
$custom: #a5b316;
$custom-light: #c4c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b316",
  "rgb": {
    "r": 165,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 65.35,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.73104,
    "c": 0.16145,
    "h": 115.3
  },
  "luminance": 0.40297
}

Semantic roles & 50–950 ramp

primary
#A5B316
secondary
#6257CE
accent
#33F544
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B316

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

Preview Lab → · Contrast checker → · Palette generator →

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