#ABB82C#ABB82C

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

Color values

HEX#ABB82C
RGBrgb(171, 184, 44)
HSLhsl(66, 61%, 45%)
HSVhsv(66, 76%, 72%)
CMYKcmyk(7.1%, 0%, 76.1%, 27.8%)
CIE-LABlab(71.64, -21.46, 64.32)
CIE-LCHlch(71.64, 67.81, 108.45°)
OKLaboklab(74.82% -0.0657 0.1412)
OKLCHoklch(74.82% 0.156 115)
XYZxyz(34.3907, 43.1214, 8.8940)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB82C #392CB8
analogous
#B87F2C #ABB82C #65B82C
triadic
#ABB82C #2CABB8 #B82CAB
tetradic
#ABB82C #2CB87F #392CB8 #B82C65
square
#ABB82C #2CB87F #392CB8 #B82C65
split-complementary
#ABB82C #2C65B8 #7F2CB8
monochromatic
#4F5514 #7D8720 #ABB82C #C8D44D #D7E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB82C#FFFFFF#000000##000000
##ABB82C1.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)
#C5AF06
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#B6AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb82c;
/* rgb */ color: rgb(171, 184, 44);
/* oklch */ color: oklch(74.8% 0.156 115.0);
Tailwind
colors: {
  custom: {
    50: '#c8cd71',
    500: '#abb82c',
    950: '#000000',
  },
}
SCSS
$custom: #abb82c;
$custom-light: #c8cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#abb82c",
  "rgb": {
    "r": 171,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 65.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74815,
    "c": 0.1557,
    "h": 115
  },
  "luminance": 0.43121
}

Semantic roles & 50–950 ramp

primary
#ABB82C
secondary
#7F77C9
accent
#43E552
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB82C

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

Preview Lab → · Contrast checker → · Palette generator →

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