#A9B417#A9B417

#A9B417 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.161 H 114.1°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#A9B417
RGBrgb(169, 180, 23)
HSLhsl(64, 77%, 40%)
HSVhsv(64, 87%, 71%)
CMYKcmyk(6.1%, 0%, 87.2%, 29.4%)
CIE-LABlab(70.27, -21.02, 68.55)
CIE-LCHlch(70.27, 71.70, 107.05°)
OKLaboklab(73.66% -0.0658 0.1468)
OKLCHoklch(73.66% 0.161 114.1)
XYZxyz(32.8392, 41.1401, 7.0214)
Luminance0.4114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B417 #2217B4
analogous
#B47117 #A9B417 #5AB417
triadic
#A9B417 #17A9B4 #B417A9
tetradic
#A9B417 #17B471 #2217B4 #B4175A
square
#A9B417 #17B471 #2217B4 #B4175A
split-complementary
#A9B417 #175AB4 #7117B4
monochromatic
#434709 #767E10 #A9B417 #D6E325 #E0EA5B

Accessibility & contrast

On white

2.28
#A9B417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#A9B417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B417
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B417#FFFFFF#000000##000000
##A9B4171.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C2AD2A
Tritanopia (blue-blind)
#B5A999
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a9b417;
/* rgb */ color: rgb(169, 180, 23);
/* oklch */ color: oklch(73.7% 0.161 114.1);
Tailwind
colors: {
  custom: {
    50: '#c7ca68',
    500: '#a9b417',
    950: '#000000',
  },
}
SCSS
$custom: #a9b417;
$custom-light: #c7ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b417",
  "rgb": {
    "r": 169,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 64.204,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.73657,
    "c": 0.16086,
    "h": 114.1
  },
  "luminance": 0.41139
}

Semantic roles & 50–950 ramp

primary
#A9B417
secondary
#6159CE
accent
#34F441
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A9B417

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

Preview Lab → · Contrast checker → · Palette generator →

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