#A5B418#A5B418

#A5B418 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#A5B418
RGBrgb(165, 180, 24)
HSLhsl(66, 76%, 40%)
HSVhsv(66, 87%, 71%)
CMYKcmyk(8.3%, 0%, 86.7%, 29.4%)
CIE-LABlab(69.97, -22.71, 67.97)
CIE-LCHlch(69.97, 71.67, 108.48°)
OKLaboklab(73.34% -0.0702 0.1459)
OKLCHoklch(73.34% 0.162 115.7)
XYZxyz(32.0042, 40.7083, 7.0355)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B418 #2718B4
analogous
#B47518 #A5B418 #57B418
triadic
#A5B418 #18A5B4 #B418A5
tetradic
#A5B418 #18B475 #2718B4 #B41857
square
#A5B418 #18B475 #2718B4 #B41857
split-complementary
#A5B418 #1857B4 #7518B4
monochromatic
#42480A #747E11 #A5B418 #D0E227 #DCE95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B418#FFFFFF#000000##000000
##A5B4181.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: #a5b418;
/* rgb */ color: rgb(165, 180, 24);
/* oklch */ color: oklch(73.3% 0.162 115.7);
Tailwind
colors: {
  custom: {
    50: '#c4ca68',
    500: '#a5b418',
    950: '#000000',
  },
}
SCSS
$custom: #a5b418;
$custom-light: #c4ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b418",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 65.769,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.73338,
    "c": 0.16187,
    "h": 115.7
  },
  "luminance": 0.40708
}

Semantic roles & 50–950 ramp

primary
#A5B418
secondary
#665BCD
accent
#35F347
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A5B418

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

Preview Lab → · Contrast checker → · Palette generator →

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