#AABB2D#AABB2D

#AABB2D 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.86:1 contrast (WCAG AA passes).

Color values

HEX#AABB2D
RGBrgb(170, 187, 45)
HSLhsl(67, 61%, 45%)
HSVhsv(67, 76%, 73%)
CMYKcmyk(9.1%, 0%, 75.9%, 26.7%)
CIE-LABlab(72.41, -23.32, 64.69)
CIE-LCHlch(72.41, 68.77, 109.82°)
OKLaboklab(75.42% -0.0707 0.1422)
OKLCHoklch(75.42% 0.159 116.4)
XYZxyz(34.8225, 44.2766, 9.1939)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB2D #3E2DBB
analogous
#BB852D #AABB2D #63BB2D
triadic
#AABB2D #2DAABB #BB2DAA
tetradic
#AABB2D #2DBB85 #3E2DBB #BB2D63
square
#AABB2D #2DBB85 #3E2DBB #BB2D63
split-complementary
#AABB2D #2D63BB #852DBB
monochromatic
#505815 #7D8A21 #AABB2D #C5D550 #D5E182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AABB2D#FFFFFF#000000##000000
##AABB2D1.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)
#C8B107
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#B5B0A0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aabb2d;
/* rgb */ color: rgb(170, 187, 45);
/* oklch */ color: oklch(75.4% 0.159 116.4);
Tailwind
colors: {
  custom: {
    50: '#c7cf71',
    500: '#aabb2d',
    950: '#000000',
  },
}
SCSS
$custom: #aabb2d;
$custom-light: #c7cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb2d",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 67.183,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75421,
    "c": 0.15877,
    "h": 116.4
  },
  "luminance": 0.44276
}

Semantic roles & 50–950 ramp

primary
#AABB2D
secondary
#847ACA
accent
#43E457
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #AABB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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