#ABB526#ABB526

#ABB526 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.155 H 113.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#ABB526
RGBrgb(171, 181, 38)
HSLhsl(64, 65%, 43%)
HSVhsv(64, 79%, 71%)
CMYKcmyk(5.5%, 0%, 79%, 29%)
CIE-LABlab(70.76, -20.20, 65.35)
CIE-LCHlch(70.76, 68.40, 107.18°)
OKLaboklab(74.11% -0.0627 0.1423)
OKLCHoklch(74.11% 0.156 113.8)
XYZxyz(33.6694, 41.8463, 8.1369)
Luminance0.4185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB526 #3026B5
analogous
#B57826 #ABB526 #63B526
triadic
#ABB526 #26ABB5 #B526AB
tetradic
#ABB526 #26B578 #3026B5 #B52663
square
#ABB526 #26B578 #3026B5 #B52663
split-complementary
#ABB526 #2663B5 #7826B5
monochromatic
#4B5011 #7B821B #ABB526 #CDD741 #DAE274

Accessibility & contrast

On white

2.24
#ABB526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#ABB526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB526
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB526#FFFFFF#000000##000000
##ABB5261.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C3AE34
Tritanopia (blue-blind)
#B7AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #abb526;
/* rgb */ color: rgb(171, 181, 38);
/* oklch */ color: oklch(74.1% 0.155 113.8);
Tailwind
colors: {
  custom: {
    50: '#c8cb6e',
    500: '#abb526',
    950: '#000000',
  },
}
SCSS
$custom: #abb526;
$custom-light: #c8cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#abb526",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 38
  },
  "hsl": {
    "h": 64.196,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74106,
    "c": 0.1555,
    "h": 113.8
  },
  "luminance": 0.41846
}

Semantic roles & 50–950 ramp

primary
#ABB526
secondary
#746EC9
accent
#40E84B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB526

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

Preview Lab → · Contrast checker → · Palette generator →

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