#ABBD2A#ABBD2A

#ABBD2A is a light, vivid yellow. Relative luminance 0.452; OKLCH L 75.9% C 0.162 H 116.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#ABBD2A
RGBrgb(171, 189, 42)
HSLhsl(67, 64%, 45%)
HSVhsv(67, 78%, 74%)
CMYKcmyk(9.5%, 0%, 77.8%, 25.9%)
CIE-LABlab(73.04, -24.00, 66.22)
CIE-LCHlch(73.04, 70.44, 109.92°)
OKLaboklab(75.94% -0.0729 0.1449)
OKLCHoklch(75.94% 0.162 116.7)
XYZxyz(35.4110, 45.2208, 9.0531)
Luminance0.4522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBD2A #3C2ABD
analogous
#BD852A #ABBD2A #61BD2A
triadic
#ABBD2A #2AABBD #BD2AAB
tetradic
#ABBD2A #2ABD85 #3C2ABD #BD2A61
square
#ABBD2A #2ABD85 #3C2ABD #BD2A61
split-complementary
#ABBD2A #2A61BD #852ABD
monochromatic
#505914 #7E8B1F #ABBD2A #C6D74D #D6E37F

Accessibility & contrast

On white

2.09
#ABBD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#ABBD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBD2A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBD2A#FFFFFF#000000##000000
##ABBD2A1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB300
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#B6B2A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #abbd2a;
/* rgb */ color: rgb(171, 189, 42);
/* oklch */ color: oklch(75.9% 0.162 116.7);
Tailwind
colors: {
  custom: {
    50: '#c8d070',
    500: '#abbd2a',
    950: '#000000',
  },
}
SCSS
$custom: #abbd2a;
$custom-light: #c8d070;
$custom-dark: #000000;
JSON
{
  "hex": "#abbd2a",
  "rgb": {
    "r": 171,
    "g": 189,
    "b": 42
  },
  "hsl": {
    "h": 67.347,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75936,
    "c": 0.16215,
    "h": 116.7
  },
  "luminance": 0.4522
}

Semantic roles & 50–950 ramp

primary
#ABBD2A
secondary
#8278CB
accent
#41E755
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #ABBD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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