#AAB138#AAB138

#AAB138 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.141 H 112.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#AAB138
RGBrgb(170, 177, 56)
HSLhsl(63, 52%, 46%)
HSVhsv(63, 68%, 69%)
CMYKcmyk(4%, 0%, 68.4%, 30.6%)
CIE-LABlab(69.67, -17.78, 58.14)
CIE-LCHlch(69.67, 60.80, 107.00°)
OKLaboklab(73.24% -0.0543 0.1302)
OKLCHoklch(73.24% 0.141 112.6)
XYZxyz(33.0145, 40.2766, 9.7756)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAB138 #3F38B1
analogous
#B17B38 #AAB138 #6DB138
triadic
#AAB138 #38AAB1 #B138AA
tetradic
#AAB138 #38B17B #3F38B1 #B1386D
square
#AAB138 #38B17B #3F38B1 #B1386D
split-complementary
#AAB138 #386DB1 #7B38B1
monochromatic
#51541B #7D8329 #AAB138 #C5CB5B #D5DA8A

Accessibility & contrast

On white

2.32
#AAB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#AAB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAB138
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAB138#FFFFFF#000000##000000
##AAB1381.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#BEAC41
Tritanopia (blue-blind)
#B5A699
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aab138;
/* rgb */ color: rgb(170, 177, 56);
/* oklch */ color: oklch(73.2% 0.141 112.6);
Tailwind
colors: {
  custom: {
    50: '#c6c876',
    500: '#aab138',
    950: '#000000',
  },
}
SCSS
$custom: #aab138;
$custom-light: #c6c876;
$custom-dark: #000000;
JSON
{
  "hex": "#aab138",
  "rgb": {
    "r": 170,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 63.471,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73239,
    "c": 0.14109,
    "h": 112.6
  },
  "luminance": 0.40276
}

Semantic roles & 50–950 ramp

primary
#AAB138
secondary
#8581C4
accent
#4CDB55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AAB138

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

Preview Lab → · Contrast checker → · Palette generator →

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