#ABB128#ABB128

#ABB128 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.150 H 112.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#ABB128
RGBrgb(171, 177, 40)
HSLhsl(63, 63%, 43%)
HSVhsv(63, 77%, 69%)
CMYKcmyk(3.4%, 0%, 77.4%, 30.6%)
CIE-LABlab(69.65, -18.12, 63.75)
CIE-LCHlch(69.65, 66.28, 105.87°)
OKLaboklab(73.22% -0.0568 0.1393)
OKLCHoklch(73.22% 0.15 112.2)
XYZxyz(32.9008, 40.2562, 8.0442)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB128 #2E28B1
analogous
#B17328 #ABB128 #66B128
triadic
#ABB128 #28ABB1 #B128AB
tetradic
#ABB128 #28B173 #2E28B1 #B12866
square
#ABB128 #28B173 #2E28B1 #B12866
split-complementary
#ABB128 #2866B1 #7328B1
monochromatic
#4B4D11 #7B7F1D #ABB128 #CED442 #DBE074

Accessibility & contrast

On white

2.32
#ABB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#ABB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB128
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB128#FFFFFF#000000##000000
##ABB1281.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BFAC34
Tritanopia (blue-blind)
#B7A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #abb128;
/* rgb */ color: rgb(171, 177, 40);
/* oklch */ color: oklch(73.2% 0.150 112.2);
Tailwind
colors: {
  custom: {
    50: '#c8c86e',
    500: '#abb128',
    950: '#000000',
  },
}
SCSS
$custom: #abb128;
$custom-light: #c8c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#abb128",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 62.628,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73217,
    "c": 0.15037,
    "h": 112.2
  },
  "luminance": 0.40255
}

Semantic roles & 50–950 ramp

primary
#ABB128
secondary
#726EC7
accent
#42E649
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB128

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

Preview Lab → · Contrast checker → · Palette generator →

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