#ABB928#ABB928

#ABB928 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.0% C 0.159 H 115.3°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#ABB928
RGBrgb(171, 185, 40)
HSLhsl(66, 64%, 44%)
HSVhsv(66, 78%, 73%)
CMYKcmyk(7.6%, 0%, 78.4%, 27.5%)
CIE-LABlab(71.90, -22.11, 65.79)
CIE-LCHlch(71.90, 69.40, 108.58°)
OKLaboklab(75.02% -0.0678 0.1436)
OKLCHoklch(75.02% 0.159 115.3)
XYZxyz(34.5276, 43.5096, 8.5864)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB928 #3628B9
analogous
#B97F28 #ABB928 #63B928
triadic
#ABB928 #28ABB9 #B928AB
tetradic
#ABB928 #28B97F #3628B9 #B92863
square
#ABB928 #28B97F #3628B9 #B92863
split-complementary
#ABB928 #2863B9 #7F28B9
monochromatic
#4E5412 #7C871D #ABB928 #C9D747 #D8E279

Accessibility & contrast

On white

2.16
#ABB928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#ABB928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB928
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB928#FFFFFF#000000##000000
##ABB9281.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C6B136
Tritanopia (blue-blind)
#B6AE9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #abb928;
/* rgb */ color: rgb(171, 185, 40);
/* oklch */ color: oklch(75.0% 0.159 115.3);
Tailwind
colors: {
  custom: {
    50: '#c8cd6f',
    500: '#abb928',
    950: '#000000',
  },
}
SCSS
$custom: #abb928;
$custom-light: #c8cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb928",
  "rgb": {
    "r": 171,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 65.793,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75019,
    "c": 0.15879,
    "h": 115.3
  },
  "luminance": 0.43509
}

Semantic roles & 50–950 ramp

primary
#ABB928
secondary
#7B73CA
accent
#40E750
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB928

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

Preview Lab → · Contrast checker → · Palette generator →

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