#AABF2B#AABF2B

#AABF2B 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#AABF2B
RGBrgb(170, 191, 43)
HSLhsl(69, 63%, 46%)
HSVhsv(69, 77%, 75%)
CMYKcmyk(11%, 0%, 77.5%, 25.1%)
CIE-LABlab(73.53, -25.35, 66.35)
CIE-LCHlch(73.53, 71.02, 110.91°)
OKLaboklab(76.32% -0.0765 0.1453)
OKLCHoklch(76.32% 0.164 117.8)
XYZxyz(35.6453, 45.9824, 9.2827)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABF2B #402BBF
analogous
#BF8A2B #AABF2B #60BF2B
triadic
#AABF2B #2BAABF #BF2BAA
tetradic
#AABF2B #2BBF8A #402BBF #BF2B60
square
#AABF2B #2BBF8A #402BBF #BF2B60
split-complementary
#AABF2B #2B60BF #8A2BBF
monochromatic
#515B15 #7E8D20 #AABF2B #C4D850 #D5E382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AABF2B#FFFFFF#000000##000000
##AABF2B1.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)
#CAB539
Tritanopia (blue-blind)
#B5B4A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #aabf2b;
/* rgb */ color: rgb(170, 191, 43);
/* oklch */ color: oklch(76.3% 0.164 117.8);
Tailwind
colors: {
  custom: {
    50: '#c7d271',
    500: '#aabf2b',
    950: '#000000',
  },
}
SCSS
$custom: #aabf2b;
$custom-light: #c7d271;
$custom-dark: #000000;
JSON
{
  "hex": "#aabf2b",
  "rgb": {
    "r": 170,
    "g": 191,
    "b": 43
  },
  "hsl": {
    "h": 68.514,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76319,
    "c": 0.16421,
    "h": 117.8
  },
  "luminance": 0.45982
}

Semantic roles & 50–950 ramp

primary
#AABF2B
secondary
#867ACC
accent
#42E659
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AABF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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