#A9B31D#A9B31D

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

Color values

HEX#A9B31D
RGBrgb(169, 179, 29)
HSLhsl(64, 72%, 41%)
HSVhsv(64, 84%, 70%)
CMYKcmyk(5.6%, 0%, 83.8%, 29.8%)
CIE-LABlab(70.01, -20.36, 67.02)
CIE-LCHlch(70.01, 70.04, 106.90°)
OKLaboklab(73.45% -0.0637 0.1444)
OKLCHoklch(73.45% 0.158 113.8)
XYZxyz(32.7051, 40.7646, 7.3077)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B31D #271DB3
analogous
#B3721D #A9B31D #5EB31D
triadic
#A9B31D #1DA9B3 #B31DA9
tetradic
#A9B31D #1DB372 #271DB3 #B31D5E
square
#A9B31D #1DB372 #271DB3 #B31D5E
split-complementary
#A9B31D #1D5EB3 #721DB3
monochromatic
#464A0C #777E14 #A9B31D #D2DD30 #DDE664

Accessibility & contrast

On white

2.29
#A9B31D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9B31D#FFFFFF#000000##000000
##A9B31D1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a9b31d;
/* rgb */ color: rgb(169, 179, 29);
/* oklch */ color: oklch(73.5% 0.158 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7c96a',
    500: '#a9b31d',
    950: '#000000',
  },
}
SCSS
$custom: #a9b31d;
$custom-light: #c7c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b31d",
  "rgb": {
    "r": 169,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 64,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73451,
    "c": 0.15781,
    "h": 113.8
  },
  "luminance": 0.40764
}

Semantic roles & 50–950 ramp

primary
#A9B31D
secondary
#6861CB
accent
#39EF45
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A9B31D

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

Preview Lab → · Contrast checker → · Palette generator →

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