#AABF2C#AABF2C

#AABF2C is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.3% C 0.164 H 117.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#AABF2C
RGBrgb(170, 191, 44)
HSLhsl(69, 63%, 46%)
HSVhsv(69, 77%, 75%)
CMYKcmyk(11%, 0%, 77%, 25.1%)
CIE-LABlab(73.54, -25.31, 66.05)
CIE-LCHlch(73.54, 70.73, 110.97°)
OKLaboklab(76.32% -0.0763 0.1449)
OKLCHoklch(76.32% 0.164 117.8)
XYZxyz(35.6639, 45.9899, 9.3805)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABF2C #412CBF
analogous
#BF8A2C #AABF2C #61BF2C
triadic
#AABF2C #2CAABF #BF2CAA
tetradic
#AABF2C #2CBF8A #412CBF #BF2C61
square
#AABF2C #2CBF8A #412CBF #BF2C61
split-complementary
#AABF2C #2C61BF #8A2CBF
monochromatic
#515C15 #7E8D21 #AABF2C #C4D751 #D5E283

Accessibility & contrast

On white

2.06
#AABF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#AABF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABF2C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABF2C#FFFFFF#000000##000000
##AABF2C1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CAB53A
Tritanopia (blue-blind)
#B5B4A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aabf2c;
/* rgb */ color: rgb(170, 191, 44);
/* oklch */ color: oklch(76.3% 0.164 117.8);
Tailwind
colors: {
  custom: {
    50: '#c7d272',
    500: '#aabf2c',
    950: '#000000',
  },
}
SCSS
$custom: #aabf2c;
$custom-light: #c7d272;
$custom-dark: #000000;
JSON
{
  "hex": "#aabf2c",
  "rgb": {
    "r": 170,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 68.571,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76324,
    "c": 0.16371,
    "h": 117.8
  },
  "luminance": 0.4599
}

Semantic roles & 50–950 ramp

primary
#AABF2C
secondary
#877BCC
accent
#42E65A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AABF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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