#ABB628#ABB628

#ABB628 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.156 H 114.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#ABB628
RGBrgb(171, 182, 40)
HSLhsl(65, 64%, 44%)
HSVhsv(65, 78%, 71%)
CMYKcmyk(6%, 0%, 78%, 28.6%)
CIE-LABlab(71.06, -20.63, 65.02)
CIE-LCHlch(71.06, 68.22, 107.60°)
OKLaboklab(74.34% -0.0637 0.142)
OKLCHoklch(74.34% 0.156 114.2)
XYZxyz(33.9066, 42.2677, 8.3794)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB628 #3328B6
analogous
#B67A28 #ABB628 #64B628
triadic
#ABB628 #28ABB6 #B628AB
tetradic
#ABB628 #28B67A #3328B6 #B62864
square
#ABB628 #28B67A #3328B6 #B62864
split-complementary
#ABB628 #2864B6 #7A28B6
monochromatic
#4D5212 #7C841D #ABB628 #CBD645 #D9E177

Accessibility & contrast

On white

2.22
#ABB628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#ABB628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB628
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB628#FFFFFF#000000##000000
##ABB6281.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF35
Tritanopia (blue-blind)
#B7AB9C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #abb628;
/* rgb */ color: rgb(171, 182, 40);
/* oklch */ color: oklch(74.3% 0.156 114.2);
Tailwind
colors: {
  custom: {
    50: '#c8cb6f',
    500: '#abb628',
    950: '#000000',
  },
}
SCSS
$custom: #abb628;
$custom-light: #c8cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb628",
  "rgb": {
    "r": 171,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 64.648,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74342,
    "c": 0.1556,
    "h": 114.2
  },
  "luminance": 0.42267
}

Semantic roles & 50–950 ramp

primary
#ABB628
secondary
#7871C9
accent
#41E74E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB628

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

Preview Lab → · Contrast checker → · Palette generator →

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