#A9B31A#A9B31A

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

Color values

HEX#A9B31A
RGBrgb(169, 179, 26)
HSLhsl(64, 75%, 40%)
HSVhsv(64, 85%, 70%)
CMYKcmyk(5.6%, 0%, 85.5%, 29.8%)
CIE-LABlab(70.00, -20.45, 67.70)
CIE-LCHlch(70.00, 70.72, 106.81°)
OKLaboklab(73.44% -0.0641 0.1454)
OKLCHoklch(73.44% 0.159 113.8)
XYZxyz(32.6698, 40.7505, 7.1217)
Luminance0.4075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B31A #241AB3
analogous
#B3711A #A9B31A #5CB31A
triadic
#A9B31A #1AA9B3 #B31AA9
tetradic
#A9B31A #1AB371 #241AB3 #B31A5C
square
#A9B31A #1AB371 #241AB3 #B31A5C
split-complementary
#A9B31A #1A5CB3 #711AB3
monochromatic
#44480A #777E12 #A9B31A #D4E02A #DFE860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9B31A#FFFFFF#000000##000000
##A9B31A1.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)
#C1AC2C
Tritanopia (blue-blind)
#B5A899
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a9b31a;
/* rgb */ color: rgb(169, 179, 26);
/* oklch */ color: oklch(73.4% 0.159 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7c969',
    500: '#a9b31a',
    950: '#000000',
  },
}
SCSS
$custom: #a9b31a;
$custom-light: #c7c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b31a",
  "rgb": {
    "r": 169,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 63.922,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.7344,
    "c": 0.15888,
    "h": 113.8
  },
  "luminance": 0.4075
}

Semantic roles & 50–950 ramp

primary
#A9B31A
secondary
#645DCC
accent
#37F143
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A9B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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