#A9A31C#A9A31C

#A9A31C is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.9% C 0.143 H 106.8°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#A9A31C
RGBrgb(169, 163, 28)
HSLhsl(57, 72%, 39%)
HSVhsv(57, 83%, 66%)
CMYKcmyk(0%, 3.6%, 83.4%, 33.7%)
CIE-LABlab(65.53, -12.22, 63.47)
CIE-LCHlch(65.53, 64.64, 100.90°)
OKLaboklab(69.86% -0.0412 0.1365)
OKLCHoklch(69.86% 0.143 106.8)
XYZxyz(29.6703, 34.7144, 6.2360)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A31C #1C22A9
analogous
#A95C1C #A9A31C #68A91C
triadic
#A9A31C #1CA9A3 #A31CA9
tetradic
#A9A31C #1CA95C #1C22A9 #A91C68
square
#A9A31C #1CA95C #1C22A9 #A91C68
split-complementary
#A9A31C #1C68A9 #5C1CA9
monochromatic
#403E0B #747013 #A9A31C #DBD427 #E4DE5B

Accessibility & contrast

On white

2.64
#A9A31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#A9A31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A31C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A31C#FFFFFF#000000##000000
##A9A31C1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#B4A129
Tritanopia (blue-blind)
#B6978B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a9a31c;
/* rgb */ color: rgb(169, 163, 28);
/* oklch */ color: oklch(69.9% 0.143 106.8);
Tailwind
colors: {
  custom: {
    50: '#c7bd67',
    500: '#a9a31c',
    950: '#000000',
  },
}
SCSS
$custom: #a9a31c;
$custom-light: #c7bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a31c",
  "rgb": {
    "r": 169,
    "g": 163,
    "b": 28
  },
  "hsl": {
    "h": 57.447,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69863,
    "c": 0.1426,
    "h": 106.8
  },
  "luminance": 0.34713
}

Semantic roles & 50–950 ramp

primary
#A9A31C
secondary
#595EC8
accent
#41EE39
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141207
muted
#82817A

Preview Lab

Preview with #A9A31C

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

Preview Lab → · Contrast checker → · Palette generator →

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