#A4B415#A4B415

#A4B415 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.163 H 116.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#A4B415
RGBrgb(164, 180, 21)
HSLhsl(66, 79%, 39%)
HSVhsv(66, 88%, 71%)
CMYKcmyk(8.9%, 0%, 88.3%, 29.4%)
CIE-LABlab(69.89, -23.21, 68.46)
CIE-LCHlch(69.89, 72.29, 108.73°)
OKLaboklab(73.25% -0.0717 0.1465)
OKLCHoklch(73.25% 0.163 116.1)
XYZxyz(31.7674, 40.5897, 6.8704)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B415 #2515B4
analogous
#B47515 #A4B415 #54B415
triadic
#A4B415 #15A4B4 #B415A4
tetradic
#A4B415 #15B475 #2515B4 #B41554
square
#A4B415 #15B475 #2515B4 #B41554
split-complementary
#A4B415 #1554B4 #7515B4
monochromatic
#404608 #727D0F #A4B415 #D1E521 #DDEC58

Accessibility & contrast

On white

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

On black

9.12
#A4B415 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B415
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B415#FFFFFF#000000##000000
##A4B4151.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4b415;
/* rgb */ color: rgb(164, 180, 21);
/* oklch */ color: oklch(73.3% 0.163 116.1);
Tailwind
colors: {
  custom: {
    50: '#c3ca67',
    500: '#a4b415',
    950: '#000000',
  },
}
SCSS
$custom: #a4b415;
$custom-light: #c3ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b415",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 21
  },
  "hsl": {
    "h": 66.038,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.7325,
    "c": 0.16312,
    "h": 116.1
  },
  "luminance": 0.40589
}

Semantic roles & 50–950 ramp

primary
#A4B415
secondary
#6256CF
accent
#32F646
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B415

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

Preview Lab → · Contrast checker → · Palette generator →

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