#A9B31C#A9B31C

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

Color values

HEX#A9B31C
RGBrgb(169, 179, 28)
HSLhsl(64, 73%, 41%)
HSVhsv(64, 84%, 70%)
CMYKcmyk(5.6%, 0%, 84.4%, 29.8%)
CIE-LABlab(70.01, -20.39, 67.25)
CIE-LCHlch(70.01, 70.27, 106.87°)
OKLaboklab(73.45% -0.0638 0.1447)
OKLCHoklch(73.45% 0.158 113.8)
XYZxyz(32.6930, 40.7598, 7.2436)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B31C #261CB3
analogous
#B3721C #A9B31C #5DB31C
triadic
#A9B31C #1CA9B3 #B31CA9
tetradic
#A9B31C #1CB372 #261CB3 #B31C5D
square
#A9B31C #1CB372 #261CB3 #B31C5D
split-complementary
#A9B31C #1C5DB3 #721CB3
monochromatic
#45490B #777E14 #A9B31C #D3DE2E #DEE763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9B31C#FFFFFF#000000##000000
##A9B31C1.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: #a9b31c;
/* rgb */ color: rgb(169, 179, 28);
/* oklch */ color: oklch(73.4% 0.158 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7c96a',
    500: '#a9b31c',
    950: '#000000',
  },
}
SCSS
$custom: #a9b31c;
$custom-light: #c7c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b31c",
  "rgb": {
    "r": 169,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 63.974,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73447,
    "c": 0.15818,
    "h": 113.8
  },
  "luminance": 0.40759
}

Semantic roles & 50–950 ramp

primary
#A9B31C
secondary
#675FCB
accent
#38F044
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A9B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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