#AABB2F#AABB2F

#AABB2F 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#AABB2F
RGBrgb(170, 187, 47)
HSLhsl(67, 60%, 46%)
HSVhsv(67, 75%, 73%)
CMYKcmyk(9.1%, 0%, 74.9%, 26.7%)
CIE-LABlab(72.42, -23.23, 64.06)
CIE-LCHlch(72.42, 68.14, 109.93°)
OKLaboklab(75.43% -0.0703 0.1412)
OKLCHoklch(75.43% 0.158 116.5)
XYZxyz(34.8619, 44.2924, 9.4016)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABB2F #402FBB
analogous
#BB862F #AABB2F #64BB2F
triadic
#AABB2F #2FAABB #BB2FAA
tetradic
#AABB2F #2FBB86 #402FBB #BB2F64
square
#AABB2F #2FBB86 #402FBB #BB2F64
split-complementary
#AABB2F #2F64BB #862FBB
monochromatic
#515916 #7E8A23 #AABB2F #C4D453 #D5E084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AABB2F#FFFFFF#000000##000000
##AABB2F1.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)
#C8B10E
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#B5B0A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aabb2f;
/* rgb */ color: rgb(170, 187, 47);
/* oklch */ color: oklch(75.4% 0.158 116.5);
Tailwind
colors: {
  custom: {
    50: '#c7cf72',
    500: '#aabb2f',
    950: '#000000',
  },
}
SCSS
$custom: #aabb2f;
$custom-light: #c7cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#aabb2f",
  "rgb": {
    "r": 170,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 67.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75432,
    "c": 0.15769,
    "h": 116.5
  },
  "luminance": 0.44292
}

Semantic roles & 50–950 ramp

primary
#AABB2F
secondary
#867CC9
accent
#45E358
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #AABB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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