#A9B731#A9B731

#A9B731 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.5% C 0.152 H 115.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#A9B731
RGBrgb(169, 183, 49)
HSLhsl(66, 58%, 45%)
HSVhsv(66, 73%, 72%)
CMYKcmyk(7.7%, 0%, 73.2%, 28.2%)
CIE-LABlab(71.23, -21.58, 62.23)
CIE-LCHlch(71.23, 65.86, 109.13°)
OKLaboklab(74.46% -0.0655 0.1377)
OKLCHoklch(74.46% 0.152 115.4)
XYZxyz(33.8510, 42.5243, 9.3299)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B731 #3F31B7
analogous
#B78231 #A9B731 #66B731
triadic
#A9B731 #31A9B7 #B731A9
tetradic
#A9B731 #31B782 #3F31B7 #B73166
square
#A9B731 #31B782 #3F31B7 #B73166
split-complementary
#A9B731 #3166B7 #8231B7
monochromatic
#505617 #7C8724 #A9B731 #C4D154 #D5DE84

Accessibility & contrast

On white

2.21
#A9B731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#A9B731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B731
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B731#FFFFFF#000000##000000
##A9B7311.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE16
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#B4AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a9b731;
/* rgb */ color: rgb(169, 183, 49);
/* oklch */ color: oklch(74.5% 0.152 115.4);
Tailwind
colors: {
  custom: {
    50: '#c6cc73',
    500: '#a9b731',
    950: '#000000',
  },
}
SCSS
$custom: #a9b731;
$custom-light: #c6cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b731",
  "rgb": {
    "r": 169,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 66.269,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7446,
    "c": 0.15246,
    "h": 115.4
  },
  "luminance": 0.42524
}

Semantic roles & 50–950 ramp

primary
#A9B731
secondary
#847CC8
accent
#47E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A9B731

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

Preview Lab → · Contrast checker → · Palette generator →

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