#AABB1F#AABB1F

#AABB1F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.4% C 0.165 H 116.3°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#AABB1F
RGBrgb(170, 187, 31)
HSLhsl(67, 72%, 43%)
HSVhsv(67, 83%, 73%)
CMYKcmyk(9.1%, 0%, 83.4%, 26.7%)
CIE-LABlab(72.35, -23.83, 68.56)
CIE-LCHlch(72.35, 72.58, 109.17°)
OKLaboklab(75.35% -0.0731 0.148)
OKLCHoklch(75.35% 0.165 116.3)
XYZxyz(34.5962, 44.1861, 8.0023)
Luminance0.4419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB1F #301FBB
analogous
#BB7E1F #AABB1F #5CBB1F
triadic
#AABB1F #1FAABB #BB1FAA
tetradic
#AABB1F #1FBB7E #301FBB #BB1F5C
square
#AABB1F #1FBB7E #301FBB #BB1F5C
split-complementary
#AABB1F #1F5CBB #7E1FBB
monochromatic
#4B520E #7A8716 #AABB1F #CCDE39 #DAE76E

Accessibility & contrast

On white

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

On black

9.84
#AABB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABB1F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABB1F#FFFFFF#000000##000000
##AABB1F1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B230
Tritanopia (blue-blind)
#B5B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aabb1f;
/* rgb */ color: rgb(170, 187, 31);
/* oklch */ color: oklch(75.4% 0.165 116.3);
Tailwind
colors: {
  custom: {
    50: '#c7cf6c',
    500: '#aabb1f',
    950: '#000000',
  },
}
SCSS
$custom: #aabb1f;
$custom-light: #c7cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb1f",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 31
  },
  "hsl": {
    "h": 66.538,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.75353,
    "c": 0.1651,
    "h": 116.3
  },
  "luminance": 0.44186
}

Semantic roles & 50–950 ramp

primary
#AABB1F
secondary
#7469CD
accent
#3AEE4D
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#141308
muted
#82827A

Preview Lab

Preview with #AABB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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