#A9B317#A9B317

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

Color values

HEX#A9B317
RGBrgb(169, 179, 23)
HSLhsl(64, 77%, 40%)
HSVhsv(64, 87%, 70%)
CMYKcmyk(5.6%, 0%, 87.2%, 29.8%)
CIE-LABlab(69.99, -20.52, 68.32)
CIE-LCHlch(69.99, 71.33, 106.72°)
OKLaboklab(73.43% -0.0644 0.1463)
OKLCHoklch(73.43% 0.16 113.8)
XYZxyz(32.6380, 40.7378, 6.9543)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B317 #2117B3
analogous
#B36F17 #A9B317 #5BB317
triadic
#A9B317 #17A9B3 #B317A9
tetradic
#A9B317 #17B36F #2117B3 #B3175B
square
#A9B317 #17B36F #2117B3 #B3175B
split-complementary
#A9B317 #175BB3 #6F17B3
monochromatic
#434709 #767D10 #A9B317 #D7E324 #E1EA5B

Accessibility & contrast

On white

2.30
#A9B317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A9B317#FFFFFF#000000##000000
##A9B3171.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AC2A
Tritanopia (blue-blind)
#B5A898
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a9b317;
/* rgb */ color: rgb(169, 179, 23);
/* oklch */ color: oklch(73.4% 0.160 113.8);
Tailwind
colors: {
  custom: {
    50: '#c7c968',
    500: '#a9b317',
    950: '#000000',
  },
}
SCSS
$custom: #a9b317;
$custom-light: #c7c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b317",
  "rgb": {
    "r": 169,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 63.846,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.7343,
    "c": 0.15984,
    "h": 113.8
  },
  "luminance": 0.40737
}

Semantic roles & 50–950 ramp

primary
#A9B317
secondary
#6058CD
accent
#34F440
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #A9B317

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

Preview Lab → · Contrast checker → · Palette generator →

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