#A4B418#A4B418

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

Color values

HEX#A4B418
RGBrgb(164, 180, 24)
HSLhsl(66, 76%, 40%)
HSVhsv(66, 87%, 71%)
CMYKcmyk(8.9%, 0%, 86.7%, 29.4%)
CIE-LABlab(69.90, -23.14, 67.88)
CIE-LCHlch(69.90, 71.71, 108.83°)
OKLaboklab(73.26% -0.0713 0.1457)
OKLCHoklch(73.26% 0.162 116.1)
XYZxyz(31.7969, 40.6015, 7.0258)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B418 #2818B4
analogous
#B47618 #A4B418 #56B418
triadic
#A4B418 #18A4B4 #B418A4
tetradic
#A4B418 #18B476 #2818B4 #B41856
square
#A4B418 #18B476 #2818B4 #B41856
split-complementary
#A4B418 #1856B4 #7618B4
monochromatic
#42480A #737E11 #A4B418 #CFE227 #DBE95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4B418#FFFFFF#000000##000000
##A4B4181.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)
#C0AC2B
Tritanopia (blue-blind)
#AFA999
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a4b418;
/* rgb */ color: rgb(164, 180, 24);
/* oklch */ color: oklch(73.3% 0.162 116.1);
Tailwind
colors: {
  custom: {
    50: '#c3ca68',
    500: '#a4b418',
    950: '#000000',
  },
}
SCSS
$custom: #a4b418;
$custom-light: #c3ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b418",
  "rgb": {
    "r": 164,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 66.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.73259,
    "c": 0.16222,
    "h": 116.1
  },
  "luminance": 0.40601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4B418

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

Preview Lab → · Contrast checker → · Palette generator →

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