#AAB126#AAB126

#AAB126 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.152 H 112.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#AAB126
RGBrgb(170, 177, 38)
HSLhsl(63, 65%, 42%)
HSVhsv(63, 79%, 69%)
CMYKcmyk(4%, 0%, 78.5%, 30.6%)
CIE-LABlab(69.56, -18.63, 64.25)
CIE-LCHlch(69.56, 66.89, 106.17°)
OKLaboklab(73.12% -0.0583 0.14)
OKLCHoklch(73.12% 0.152 112.6)
XYZxyz(32.6507, 40.1310, 7.8595)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB126 #2D26B1
analogous
#B17326 #AAB126 #64B126
triadic
#AAB126 #26AAB1 #B126AA
tetradic
#AAB126 #26B173 #2D26B1 #B12664
square
#AAB126 #26B173 #2D26B1 #B12664
split-complementary
#AAB126 #2664B1 #7326B1
monochromatic
#494C10 #7A7F1B #AAB126 #CED63F #DBE071

Accessibility & contrast

On white

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

On black

9.03
#AAB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB126
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB126#FFFFFF#000000##000000
##AAB1261.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aab126;
/* rgb */ color: rgb(170, 177, 38);
/* oklch */ color: oklch(73.1% 0.152 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c86d',
    500: '#aab126',
    950: '#000000',
  },
}
SCSS
$custom: #aab126;
$custom-light: #c7c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#aab126",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 63.022,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.73123,
    "c": 0.15163,
    "h": 112.6
  },
  "luminance": 0.4013
}

Semantic roles & 50–950 ramp

primary
#AAB126
secondary
#706BC7
accent
#40E849
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AAB126

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

Preview Lab → · Contrast checker → · Palette generator →

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