#AABC42#AABC42

#AABC42 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.8% C 0.146 H 117.2°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#AABC42
RGBrgb(170, 188, 66)
HSLhsl(69, 48%, 50%)
HSVhsv(69, 65%, 74%)
CMYKcmyk(9.6%, 0%, 64.9%, 26.3%)
CIE-LABlab(72.83, -22.66, 57.40)
CIE-LCHlch(72.83, 61.71, 111.54°)
OKLaboklab(75.8% -0.0669 0.1302)
OKLCHoklch(75.8% 0.146 117.2)
XYZxyz(35.5449, 44.9062, 11.9485)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AABC42 #5442BC
analogous
#BC9142 #AABC42 #6DBC42
triadic
#AABC42 #42AABC #BC42AA
tetradic
#AABC42 #42BC91 #5442BC #BC426D
square
#AABC42 #42BC91 #5442BC #BC426D
split-complementary
#AABC42 #426DBC #9142BC
monochromatic
#586122 #818F32 #AABC42 #BFCC6F #D3DC9C

Accessibility & contrast

On white

2.10
#AABC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#AABC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AABC42
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AABC42#FFFFFF#000000##000000
##AABC421.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#C7B34B
Tritanopia (blue-blind)
#B4B2A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #aabc42;
/* rgb */ color: rgb(170, 188, 66);
/* oklch */ color: oklch(75.8% 0.146 117.2);
Tailwind
colors: {
  custom: {
    50: '#c6d07c',
    500: '#aabc42',
    950: '#000000',
  },
}
SCSS
$custom: #aabc42;
$custom-light: #c6d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#aabc42",
  "rgb": {
    "r": 170,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 68.852,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75799,
    "c": 0.14641,
    "h": 117.2
  },
  "luminance": 0.44906
}

Semantic roles & 50–950 ramp

primary
#AABC42
secondary
#9991C9
accent
#50D864
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #AABC42

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

Preview Lab → · Contrast checker → · Palette generator →

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