#AABB42#AABB42

#AABB42 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.6% C 0.145 H 116.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#AABB42
RGBrgb(170, 187, 66)
HSLhsl(68, 48%, 50%)
HSVhsv(68, 65%, 73%)
CMYKcmyk(9.1%, 0%, 64.7%, 26.7%)
CIE-LABlab(72.55, -22.16, 57.11)
CIE-LCHlch(72.55, 61.26, 111.21°)
OKLaboklab(75.57% -0.0655 0.1296)
OKLCHoklch(75.57% 0.145 116.8)
XYZxyz(35.3320, 44.4805, 11.8775)
Luminance0.4448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB42 #5342BB
analogous
#BB9042 #AABB42 #6DBB42
triadic
#AABB42 #42AABB #BB42AA
tetradic
#AABB42 #42BB90 #5342BB #BB426D
square
#AABB42 #42BB90 #5342BB #BB426D
split-complementary
#AABB42 #426DBB #9042BB
monochromatic
#586122 #818E32 #AABB42 #BFCC6E #D3DC9C

Accessibility & contrast

On white

2.12
#AABB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#AABB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABB42
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABB42#FFFFFF#000000##000000
##AABB421.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B132
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#B4B1A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aabb42;
/* rgb */ color: rgb(170, 187, 66);
/* oklch */ color: oklch(75.6% 0.145 116.8);
Tailwind
colors: {
  custom: {
    50: '#c6cf7c',
    500: '#aabb42',
    950: '#000000',
  },
}
SCSS
$custom: #aabb42;
$custom-light: #c6cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb42",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 68.43,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75573,
    "c": 0.14523,
    "h": 116.8
  },
  "luminance": 0.4448
}

Semantic roles & 50–950 ramp

primary
#AABB42
secondary
#9991C8
accent
#50D763
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AABB42

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

Preview Lab → · Contrast checker → · Palette generator →

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