#ABBB42#ABBB42

#ABBB42 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.7% C 0.145 H 116.4°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#ABBB42
RGBrgb(171, 187, 66)
HSLhsl(68, 48%, 50%)
HSVhsv(68, 65%, 73%)
CMYKcmyk(8.6%, 0%, 64.7%, 26.7%)
CIE-LABlab(72.62, -21.75, 57.21)
CIE-LCHlch(72.62, 61.20, 110.81°)
OKLaboklab(75.65% -0.0644 0.1298)
OKLCHoklch(75.65% 0.145 116.4)
XYZxyz(35.5490, 44.5924, 11.8877)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB42 #5242BB
analogous
#BB8F42 #ABBB42 #6FBB42
triadic
#ABBB42 #42ABBB #BB42AB
tetradic
#ABBB42 #42BB8F #5242BB #BB426F
square
#ABBB42 #42BB8F #5242BB #BB426F
split-complementary
#ABBB42 #426FBB #8F42BB
monochromatic
#586122 #828E32 #ABBB42 #C0CC6E #D3DC9C

Accessibility & contrast

On white

2.12
#ABBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#ABBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB42
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB42#FFFFFF#000000##000000
##ABBB421.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B232
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#B5B1A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb42;
/* rgb */ color: rgb(171, 187, 66);
/* oklch */ color: oklch(75.7% 0.145 116.4);
Tailwind
colors: {
  custom: {
    50: '#c7cf7c',
    500: '#abbb42',
    950: '#000000',
  },
}
SCSS
$custom: #abbb42;
$custom-light: #c7cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb42",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 67.934,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75651,
    "c": 0.14491,
    "h": 116.4
  },
  "luminance": 0.44592
}

Semantic roles & 50–950 ramp

primary
#ABBB42
secondary
#9891C8
accent
#50D762
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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