#AABC2B#AABC2B

#AABC2B is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.6% C 0.161 H 116.8°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#AABC2B
RGBrgb(170, 188, 43)
HSLhsl(67, 63%, 45%)
HSVhsv(67, 77%, 74%)
CMYKcmyk(9.6%, 0%, 77.1%, 26.3%)
CIE-LABlab(72.69, -23.89, 65.57)
CIE-LCHlch(72.69, 69.79, 110.02°)
OKLaboklab(75.64% -0.0724 0.1437)
OKLCHoklch(75.64% 0.161 116.8)
XYZxyz(34.9977, 44.6874, 9.0669)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABC2B #3D2BBC
analogous
#BC852B #AABC2B #62BC2B
triadic
#AABC2B #2BAABC #BC2BAA
tetradic
#AABC2B #2BBC85 #3D2BBC #BC2B62
square
#AABC2B #2BBC85 #3D2BBC #BC2B62
split-complementary
#AABC2B #2B62BC #852BBC
monochromatic
#505814 #7D8A20 #AABC2B #C5D64E #D6E280

Accessibility & contrast

On white

2.11
#AABC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#AABC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABC2B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABC2B#FFFFFF#000000##000000
##AABC2B1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#B5B1A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #aabc2b;
/* rgb */ color: rgb(170, 188, 43);
/* oklch */ color: oklch(75.6% 0.161 116.8);
Tailwind
colors: {
  custom: {
    50: '#c7d071',
    500: '#aabc2b',
    950: '#000000',
  },
}
SCSS
$custom: #aabc2b;
$custom-light: #c7d071;
$custom-dark: #000000;
JSON
{
  "hex": "#aabc2b",
  "rgb": {
    "r": 170,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 67.448,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75636,
    "c": 0.16091,
    "h": 116.8
  },
  "luminance": 0.44687
}

Semantic roles & 50–950 ramp

primary
#AABC2B
secondary
#8278CB
accent
#42E656
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AABC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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