#A9B31B#A9B31B

#A9B31B is a light, vivid yellow. Relative luminance 0.408; 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#A9B31B
RGBrgb(169, 179, 27)
HSLhsl(64, 74%, 40%)
HSVhsv(64, 85%, 70%)
CMYKcmyk(5.6%, 0%, 84.9%, 29.8%)
CIE-LABlab(70.00, -20.42, 67.48)
CIE-LCHlch(70.00, 70.50, 106.84°)
OKLaboklab(73.44% -0.0639 0.1451)
OKLCHoklch(73.44% 0.159 113.8)
XYZxyz(32.6812, 40.7551, 7.1816)
Luminance0.4075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B31B #251BB3
analogous
#B3711B #A9B31B #5DB31B
triadic
#A9B31B #1BA9B3 #B31BA9
tetradic
#A9B31B #1BB371 #251BB3 #B31B5D
square
#A9B31B #1BB371 #251BB3 #B31B5D
split-complementary
#A9B31B #1B5DB3 #711BB3
monochromatic
#45490B #777E13 #A9B31B #D3DF2C #DEE761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a9b31b;
/* rgb */ color: rgb(169, 179, 27);
/* oklch */ color: oklch(73.4% 0.159 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7c969',
    500: '#a9b31b',
    950: '#000000',
  },
}
SCSS
$custom: #a9b31b;
$custom-light: #c7c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b31b",
  "rgb": {
    "r": 169,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 63.947,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.15854,
    "h": 113.8
  },
  "luminance": 0.40754
}

Semantic roles & 50–950 ramp

primary
#A9B31B
secondary
#655ECC
accent
#37F044
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A9B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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