#A5B01C#A5B01C

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

Color values

HEX#A5B01C
RGBrgb(165, 176, 28)
HSLhsl(64, 73%, 40%)
HSVhsv(64, 84%, 69%)
CMYKcmyk(6.2%, 0%, 84.1%, 31%)
CIE-LABlab(68.85, -20.62, 66.15)
CIE-LCHlch(68.85, 69.29, 107.31°)
OKLaboklab(72.44% -0.0642 0.1425)
OKLCHoklch(72.44% 0.156 114.3)
XYZxyz(31.2530, 39.1345, 7.0057)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B01C #271CB0
analogous
#B0711C #A5B01C #5BB01C
triadic
#A5B01C #1CA5B0 #B01CA5
tetradic
#A5B01C #1CB071 #271CB0 #B01C5B
square
#A5B01C #1CB071 #271CB0 #B01C5B
split-complementary
#A5B01C #1C5BB0 #711CB0
monochromatic
#42460B #747B14 #A5B01C #D0DD2C #DCE661

Accessibility & contrast

On white

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

On black

8.83
#A5B01C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B01C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B01C#FFFFFF#000000##000000
##A5B01C1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BDA92C
Tritanopia (blue-blind)
#B1A596
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b01c;
/* rgb */ color: rgb(165, 176, 28);
/* oklch */ color: oklch(72.4% 0.156 114.3);
Tailwind
colors: {
  custom: {
    50: '#c4c769',
    500: '#a5b01c',
    950: '#000000',
  },
}
SCSS
$custom: #a5b01c;
$custom-light: #c4c769;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b01c",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 28
  },
  "hsl": {
    "h": 64.459,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.72441,
    "c": 0.15633,
    "h": 114.3
  },
  "luminance": 0.39134
}

Semantic roles & 50–950 ramp

primary
#A5B01C
secondary
#665ECA
accent
#39EF46
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B01C

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

Preview Lab → · Contrast checker → · Palette generator →

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