#ABB82A#ABB82A

#ABB82A is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.8% C 0.157 H 114.9°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#ABB82A
RGBrgb(171, 184, 42)
HSLhsl(65, 63%, 44%)
HSVhsv(65, 77%, 72%)
CMYKcmyk(7.1%, 0%, 77.2%, 27.8%)
CIE-LABlab(71.63, -21.54, 64.94)
CIE-LCHlch(71.63, 68.42, 108.35°)
OKLaboklab(74.8% -0.0661 0.1421)
OKLCHoklch(74.8% 0.157 114.9)
XYZxyz(34.3540, 43.1067, 8.7007)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB82A #372AB8
analogous
#B87E2A #ABB82A #64B82A
triadic
#ABB82A #2AABB8 #B82AAB
tetradic
#ABB82A #2AB87E #372AB8 #B82A64
square
#ABB82A #2AB87E #372AB8 #B82A64
split-complementary
#ABB82A #2A64B8 #7E2AB8
monochromatic
#4E5413 #7D861F #ABB82A #C9D64A #D8E17B

Accessibility & contrast

On white

2.18
#ABB82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#ABB82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB82A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB82A#FFFFFF#000000##000000
##ABB82A1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#B6AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb82a;
/* rgb */ color: rgb(171, 184, 42);
/* oklch */ color: oklch(74.8% 0.157 114.9);
Tailwind
colors: {
  custom: {
    50: '#c8cd70',
    500: '#abb82a',
    950: '#000000',
  },
}
SCSS
$custom: #abb82a;
$custom-light: #c8cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#abb82a",
  "rgb": {
    "r": 171,
    "g": 184,
    "b": 42
  },
  "hsl": {
    "h": 65.493,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74804,
    "c": 0.15674,
    "h": 114.9
  },
  "luminance": 0.43106
}

Semantic roles & 50–950 ramp

primary
#ABB82A
secondary
#7C75C9
accent
#42E651
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB82A

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

Preview Lab → · Contrast checker → · Palette generator →

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