#AABB2E#AABB2E

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

Color values

HEX#AABB2E
RGBrgb(170, 187, 46)
HSLhsl(67, 61%, 46%)
HSVhsv(67, 75%, 73%)
CMYKcmyk(9.1%, 0%, 75.4%, 26.7%)
CIE-LABlab(72.42, -23.27, 64.38)
CIE-LCHlch(72.42, 68.45, 109.87°)
OKLaboklab(75.43% -0.0705 0.1417)
OKLCHoklch(75.43% 0.158 116.5)
XYZxyz(34.8419, 44.2844, 9.2965)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB2E #3F2EBB
analogous
#BB852E #AABB2E #63BB2E
triadic
#AABB2E #2EAABB #BB2EAA
tetradic
#AABB2E #2EBB85 #3F2EBB #BB2E63
square
#AABB2E #2EBB85 #3F2EBB #BB2E63
split-complementary
#AABB2E #2E63BB #852EBB
monochromatic
#515916 #7D8A22 #AABB2E #C5D452 #D5E083

Accessibility & contrast

On white

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

On black

9.86
#AABB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABB2E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABB2E#FFFFFF#000000##000000
##AABB2E1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aabb2e;
/* rgb */ color: rgb(170, 187, 46);
/* oklch */ color: oklch(75.4% 0.158 116.5);
Tailwind
colors: {
  custom: {
    50: '#c7cf72',
    500: '#aabb2e',
    950: '#000000',
  },
}
SCSS
$custom: #aabb2e;
$custom-light: #c7cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb2e",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 67.234,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75426,
    "c": 0.15823,
    "h": 116.5
  },
  "luminance": 0.44284
}

Semantic roles & 50–950 ramp

primary
#AABB2E
secondary
#857BCA
accent
#44E457
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AABB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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