#A9A127#A9A127

#A9A127 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.5% C 0.136 H 105.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A9A127
RGBrgb(169, 161, 39)
HSLhsl(56, 63%, 41%)
HSVhsv(56, 77%, 66%)
CMYKcmyk(0%, 4.7%, 76.9%, 33.7%)
CIE-LABlab(65.02, -10.79, 59.79)
CIE-LCHlch(65.02, 60.75, 100.23°)
OKLaboklab(69.47% -0.0363 0.1307)
OKLCHoklch(69.47% 0.136 105.5)
XYZxyz(29.4745, 34.0724, 6.9431)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9A127 #272FA9
analogous
#A96027 #A9A127 #70A927
triadic
#A9A127 #27A9A1 #A127A9
tetradic
#A9A127 #27A960 #272FA9 #A92770
square
#A9A127 #27A960 #272FA9 #A92770
split-complementary
#A9A127 #2770A9 #6027A9
monochromatic
#464210 #77721C #A9A127 #D2C93B #DDD66D

Accessibility & contrast

On white

2.69
#A9A127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A9A127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9A127
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9A127#FFFFFF#000000##000000
##A9A1271.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B09
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#B6968A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a9a127;
/* rgb */ color: rgb(169, 161, 39);
/* oklch */ color: oklch(69.5% 0.136 105.5);
Tailwind
colors: {
  custom: {
    50: '#c6bc6c',
    500: '#a9a127',
    950: '#000000',
  },
}
SCSS
$custom: #a9a127;
$custom-light: #c6bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a9a127",
  "rgb": {
    "r": 169,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 56.308,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69475,
    "c": 0.13564,
    "h": 105.5
  },
  "luminance": 0.34071
}

Semantic roles & 50–950 ramp

primary
#A9A127
secondary
#686EC4
accent
#4CE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A9A127

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

Preview Lab → · Contrast checker → · Palette generator →

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