#A4B31A#A4B31A

#A4B31A is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.161 H 115.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A4B31A
RGBrgb(164, 179, 26)
HSLhsl(66, 75%, 40%)
HSVhsv(66, 85%, 70%)
CMYKcmyk(8.4%, 0%, 85.5%, 29.8%)
CIE-LABlab(69.62, -22.60, 67.22)
CIE-LCHlch(69.62, 70.92, 108.58°)
OKLaboklab(73.04% -0.0697 0.1446)
OKLCHoklch(73.04% 0.161 115.8)
XYZxyz(31.6173, 40.2078, 7.0724)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4B31A #291AB3
analogous
#B3751A #A4B31A #58B31A
triadic
#A4B31A #1AA4B3 #B31AA4
tetradic
#A4B31A #1AB375 #291AB3 #B31A58
square
#A4B31A #1AB375 #291AB3 #B31A58
split-complementary
#A4B31A #1A58B3 #751AB3
monochromatic
#42480A #737E12 #A4B31A #CEE02A #DAE860

Accessibility & contrast

On white

2.32
#A4B31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A4B31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4B31A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4B31A#FFFFFF#000000##000000
##A4B31A1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2C
Tritanopia (blue-blind)
#AFA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a4b31a;
/* rgb */ color: rgb(164, 179, 26);
/* oklch */ color: oklch(73.0% 0.161 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3c969',
    500: '#a4b31a',
    950: '#000000',
  },
}
SCSS
$custom: #a4b31a;
$custom-light: #c3c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a4b31a",
  "rgb": {
    "r": 164,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 65.882,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.73037,
    "c": 0.16051,
    "h": 115.8
  },
  "luminance": 0.40207
}

Semantic roles & 50–950 ramp

primary
#A4B31A
secondary
#685DCC
accent
#37F149
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A4B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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