#ABBC42#ABBC42

#ABBC42 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.9% C 0.146 H 116.8°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#ABBC42
RGBrgb(171, 188, 66)
HSLhsl(68, 48%, 50%)
HSVhsv(68, 65%, 74%)
CMYKcmyk(9%, 0%, 64.9%, 26.3%)
CIE-LABlab(72.90, -22.24, 57.50)
CIE-LCHlch(72.90, 61.66, 111.15°)
OKLaboklab(75.88% -0.0658 0.1304)
OKLCHoklch(75.88% 0.146 116.8)
XYZxyz(35.7619, 45.0181, 11.9586)
Luminance0.4502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBC42 #5342BC
analogous
#BC9042 #ABBC42 #6EBC42
triadic
#ABBC42 #42ABBC #BC42AB
tetradic
#ABBC42 #42BC90 #5342BC #BC426E
square
#ABBC42 #42BC90 #5342BC #BC426E
split-complementary
#ABBC42 #426EBC #9042BC
monochromatic
#596122 #828F32 #ABBC42 #BFCC6F #D3DC9C

Accessibility & contrast

On white

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

On black

10.00
#ABBC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBC42
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBC42#FFFFFF#000000##000000
##ABBC421.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abbc42;
/* rgb */ color: rgb(171, 188, 66);
/* oklch */ color: oklch(75.9% 0.146 116.8);
Tailwind
colors: {
  custom: {
    50: '#c7d07c',
    500: '#abbc42',
    950: '#000000',
  },
}
SCSS
$custom: #abbc42;
$custom-light: #c7d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#abbc42",
  "rgb": {
    "r": 171,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 68.361,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75876,
    "c": 0.14608,
    "h": 116.8
  },
  "luminance": 0.45018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABBC42

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

Preview Lab → · Contrast checker → · Palette generator →

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