#ABBB1F#ABBB1F

#ABBB1F is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.165 H 115.9°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#ABBB1F
RGBrgb(171, 187, 31)
HSLhsl(66, 72%, 43%)
HSVhsv(66, 83%, 73%)
CMYKcmyk(8.6%, 0%, 83.4%, 26.7%)
CIE-LABlab(72.43, -23.41, 68.65)
CIE-LCHlch(72.43, 72.53, 108.83°)
OKLaboklab(75.43% -0.072 0.1482)
OKLCHoklch(75.43% 0.165 115.9)
XYZxyz(34.8133, 44.2981, 8.0125)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB1F #2F1FBB
analogous
#BB7D1F #ABBB1F #5DBB1F
triadic
#ABBB1F #1FABBB #BB1FAB
tetradic
#ABBB1F #1FBB7D #2F1FBB #BB1F5D
square
#ABBB1F #1FBB7D #2F1FBB #BB1F5D
split-complementary
#ABBB1F #1F5DBB #7D1FBB
monochromatic
#4B520E #7B8716 #ABBB1F #CDDE39 #DAE76E

Accessibility & contrast

On white

2.13
#ABBB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#ABBB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB1F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB1F#FFFFFF#000000##000000
##ABBB1F1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B330
Tritanopia (blue-blind)
#B7B0A0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb1f;
/* rgb */ color: rgb(171, 187, 31);
/* oklch */ color: oklch(75.4% 0.165 115.9);
Tailwind
colors: {
  custom: {
    50: '#c8cf6c',
    500: '#abbb1f',
    950: '#000000',
  },
}
SCSS
$custom: #abbb1f;
$custom-light: #c8cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb1f",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 31
  },
  "hsl": {
    "h": 66.154,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.75432,
    "c": 0.16476,
    "h": 115.9
  },
  "luminance": 0.44298
}

Semantic roles & 50–950 ramp

primary
#ABBB1F
secondary
#7369CD
accent
#3AEE4C
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#141308
muted
#82827A

Preview Lab

Preview with #ABBB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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