#A9B126#A9B126

#A9B126 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.152 H 113.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#A9B126
RGBrgb(169, 177, 38)
HSLhsl(63, 65%, 42%)
HSVhsv(63, 79%, 69%)
CMYKcmyk(4.5%, 0%, 78.5%, 30.6%)
CIE-LABlab(69.48, -19.06, 64.15)
CIE-LCHlch(69.48, 66.92, 106.55°)
OKLaboklab(73.04% -0.0594 0.1398)
OKLCHoklch(73.04% 0.152 113)
XYZxyz(32.4352, 40.0200, 7.8494)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9B126 #2E26B1
analogous
#B17326 #A9B126 #64B126
triadic
#A9B126 #26A9B1 #B126A9
tetradic
#A9B126 #26B173 #2E26B1 #B12664
square
#A9B126 #26B173 #2E26B1 #B12664
split-complementary
#A9B126 #2664B1 #7326B1
monochromatic
#494C10 #797F1B #A9B126 #CDD63F #DAE071

Accessibility & contrast

On white

2.33
#A9B126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#A9B126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A9B126
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9B126#FFFFFF#000000##000000
##A9B1261.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#B5A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a9b126;
/* rgb */ color: rgb(169, 177, 38);
/* oklch */ color: oklch(73.0% 0.152 113.0);
Tailwind
colors: {
  custom: {
    50: '#c6c86d',
    500: '#a9b126',
    950: '#000000',
  },
}
SCSS
$custom: #a9b126;
$custom-light: #c6c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a9b126",
  "rgb": {
    "r": 169,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 63.453,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.7304,
    "c": 0.15192,
    "h": 113
  },
  "luminance": 0.40019
}

Semantic roles & 50–950 ramp

primary
#A9B126
secondary
#716BC7
accent
#40E84A
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A9B126

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

Preview Lab → · Contrast checker → · Palette generator →

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