#A9B31F#A9B31F

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

Color values

HEX#A9B31F
RGBrgb(169, 179, 31)
HSLhsl(64, 70%, 41%)
HSVhsv(64, 83%, 70%)
CMYKcmyk(5.6%, 0%, 82.7%, 29.8%)
CIE-LABlab(70.02, -20.30, 66.53)
CIE-LCHlch(70.02, 69.56, 106.97°)
OKLaboklab(73.46% -0.0634 0.1437)
OKLCHoklch(73.46% 0.157 113.8)
XYZxyz(32.7307, 40.7748, 7.4422)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B31F #291FB3
analogous
#B3731F #A9B31F #5FB31F
triadic
#A9B31F #1FA9B3 #B31FA9
tetradic
#A9B31F #1FB373 #291FB3 #B31F5F
square
#A9B31F #1FB373 #291FB3 #B31F5F
split-complementary
#A9B31F #1F5FB3 #731FB3
monochromatic
#464B0D #787F16 #A9B31F #D0DC33 #DCE568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a9b31f;
/* rgb */ color: rgb(169, 179, 31);
/* oklch */ color: oklch(73.5% 0.157 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7c96b',
    500: '#a9b31f',
    950: '#000000',
  },
}
SCSS
$custom: #a9b31f;
$custom-light: #c7c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b31f",
  "rgb": {
    "r": 169,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 64.054,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.73459,
    "c": 0.15705,
    "h": 113.8
  },
  "luminance": 0.40774
}

Semantic roles & 50–950 ramp

primary
#A9B31F
secondary
#6A64CA
accent
#3BED47
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A9B31F

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

Preview Lab → · Contrast checker → · Palette generator →

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