#A9B831#A9B831

#A9B831 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.7% C 0.154 H 115.8°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#A9B831
RGBrgb(169, 184, 49)
HSLhsl(67, 58%, 46%)
HSVhsv(67, 73%, 72%)
CMYKcmyk(8.2%, 0%, 73.4%, 27.8%)
CIE-LABlab(71.51, -22.07, 62.49)
CIE-LCHlch(71.51, 66.28, 109.45°)
OKLaboklab(74.69% -0.0669 0.1383)
OKLCHoklch(74.69% 0.154 115.8)
XYZxyz(34.0580, 42.9383, 9.3989)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B831 #4031B8
analogous
#B88331 #A9B831 #65B831
triadic
#A9B831 #31A9B8 #B831A9
tetradic
#A9B831 #31B883 #4031B8 #B83165
square
#A9B831 #31B883 #4031B8 #B83165
split-complementary
#A9B831 #3165B8 #8331B8
monochromatic
#505717 #7D8824 #A9B831 #C4D255 #D5DE85

Accessibility & contrast

On white

2.19
#A9B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#A9B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B831
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B831#FFFFFF#000000##000000
##A9B8311.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE15
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#B4AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a9b831;
/* rgb */ color: rgb(169, 184, 49);
/* oklch */ color: oklch(74.7% 0.154 115.8);
Tailwind
colors: {
  custom: {
    50: '#c6cd73',
    500: '#a9b831',
    950: '#000000',
  },
}
SCSS
$custom: #a9b831;
$custom-light: #c6cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b831",
  "rgb": {
    "r": 169,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 66.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74686,
    "c": 0.15357,
    "h": 115.8
  },
  "luminance": 0.42938
}

Semantic roles & 50–950 ramp

primary
#A9B831
secondary
#857DC8
accent
#47E158
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A9B831

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

Preview Lab → · Contrast checker → · Palette generator →

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