#A5B41C#A5B41C

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

Color values

HEX#A5B41C
RGBrgb(165, 180, 28)
HSLhsl(66, 73%, 41%)
HSVhsv(66, 84%, 71%)
CMYKcmyk(8.3%, 0%, 84.4%, 29.4%)
CIE-LABlab(69.98, -22.61, 67.11)
CIE-LCHlch(69.98, 70.81, 108.62°)
OKLaboklab(73.35% -0.0697 0.1446)
OKLCHoklch(73.35% 0.161 115.7)
XYZxyz(32.0489, 40.7262, 7.2710)
Luminance0.4073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B41C #2B1CB4
analogous
#B4771C #A5B41C #59B41C
triadic
#A5B41C #1CA5B4 #B41CA5
tetradic
#A5B41C #1CB477 #2B1CB4 #B41C59
square
#A5B41C #1CB477 #2B1CB4 #B41C59
split-complementary
#A5B41C #1C59B4 #771CB4
monochromatic
#444A0C #747F14 #A5B41C #CDDF2F #DAE764

Accessibility & contrast

On white

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

On black

9.15
#A5B41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B41C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B41C#FFFFFF#000000##000000
##A5B41C1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2D
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b41c;
/* rgb */ color: rgb(165, 180, 28);
/* oklch */ color: oklch(73.4% 0.161 115.7);
Tailwind
colors: {
  custom: {
    50: '#c4ca6a',
    500: '#a5b41c',
    950: '#000000',
  },
}
SCSS
$custom: #a5b41c;
$custom-light: #c4ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b41c",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 65.921,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73352,
    "c": 0.16052,
    "h": 115.7
  },
  "luminance": 0.40726
}

Semantic roles & 50–950 ramp

primary
#A5B41C
secondary
#6B60CC
accent
#38F04A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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