#AABB2C#AABB2C

#AABB2C is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.159 H 116.4°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#AABB2C
RGBrgb(170, 187, 44)
HSLhsl(67, 62%, 45%)
HSVhsv(67, 76%, 73%)
CMYKcmyk(9.1%, 0%, 76.5%, 26.7%)
CIE-LABlab(72.41, -23.36, 65.00)
CIE-LCHlch(72.41, 69.07, 109.77°)
OKLaboklab(75.41% -0.0709 0.1427)
OKLCHoklch(75.41% 0.159 116.4)
XYZxyz(34.8034, 44.2690, 9.0937)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB2C #3D2CBB
analogous
#BB852C #AABB2C #62BB2C
triadic
#AABB2C #2CAABB #BB2CAA
tetradic
#AABB2C #2CBB85 #3D2CBB #BB2C62
square
#AABB2C #2CBB85 #3D2CBB #BB2C62
split-complementary
#AABB2C #2C62BB #852CBB
monochromatic
#505815 #7D8920 #AABB2C #C5D64F #D6E180

Accessibility & contrast

On white

2.13
#AABB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#AABB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABB2C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABB2C#FFFFFF#000000##000000
##AABB2C1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B103
Deuteranopia (green-blind)
#C7B239
Tritanopia (blue-blind)
#B5B0A0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aabb2c;
/* rgb */ color: rgb(170, 187, 44);
/* oklch */ color: oklch(75.4% 0.159 116.4);
Tailwind
colors: {
  custom: {
    50: '#c7cf71',
    500: '#aabb2c',
    950: '#000000',
  },
}
SCSS
$custom: #aabb2c;
$custom-light: #c7cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb2c",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 44
  },
  "hsl": {
    "h": 67.133,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75415,
    "c": 0.15929,
    "h": 116.4
  },
  "luminance": 0.44269
}

Semantic roles & 50–950 ramp

primary
#AABB2C
secondary
#8279CA
accent
#43E556
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AABB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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