#ABB828#ABB828

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

Color values

HEX#ABB828
RGBrgb(171, 184, 40)
HSLhsl(65, 64%, 44%)
HSVhsv(65, 78%, 72%)
CMYKcmyk(7.1%, 0%, 78.3%, 27.8%)
CIE-LABlab(71.62, -21.62, 65.53)
CIE-LCHlch(71.62, 69.01, 108.26°)
OKLaboklab(74.79% -0.0665 0.143)
OKLCHoklch(74.79% 0.158 114.9)
XYZxyz(34.3191, 43.0927, 8.5169)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB828 #3528B8
analogous
#B87D28 #ABB828 #63B828
triadic
#ABB828 #28ABB8 #B828AB
tetradic
#ABB828 #28B87D #3528B8 #B82863
square
#ABB828 #28B87D #3528B8 #B82863
split-complementary
#ABB828 #2863B8 #7D28B8
monochromatic
#4E5312 #7C861D #ABB828 #CAD746 #D8E279

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB828#FFFFFF#000000##000000
##ABB8281.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)
#C5B136
Tritanopia (blue-blind)
#B7AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb828;
/* rgb */ color: rgb(171, 184, 40);
/* oklch */ color: oklch(74.8% 0.158 114.9);
Tailwind
colors: {
  custom: {
    50: '#c8cd6f',
    500: '#abb828',
    950: '#000000',
  },
}
SCSS
$custom: #abb828;
$custom-light: #c8cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb828",
  "rgb": {
    "r": 171,
    "g": 184,
    "b": 40
  },
  "hsl": {
    "h": 65.417,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.15773,
    "h": 114.9
  },
  "luminance": 0.43092
}

Semantic roles & 50–950 ramp

primary
#ABB828
secondary
#7A72CA
accent
#41E750
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB828

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

Preview Lab → · Contrast checker → · Palette generator →

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