#ABB538#ABB538

#ABB538 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.2% C 0.145 H 113.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#ABB538
RGBrgb(171, 181, 56)
HSLhsl(65, 53%, 46%)
HSVhsv(65, 69%, 71%)
CMYKcmyk(5.5%, 0%, 69.1%, 29%)
CIE-LABlab(70.87, -19.37, 59.37)
CIE-LCHlch(70.87, 62.45, 108.07°)
OKLaboklab(74.22% -0.0588 0.1328)
OKLCHoklch(74.22% 0.145 113.9)
XYZxyz(34.0332, 41.9919, 10.0530)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB538 #4238B5
analogous
#B58138 #ABB538 #6DB538
triadic
#ABB538 #38ABB5 #B538AB
tetradic
#ABB538 #38B581 #4238B5 #B5386D
square
#ABB538 #38B581 #4238B5 #B5386D
split-complementary
#ABB538 #386DB5 #8138B5
monochromatic
#53581B #7F862A #ABB538 #C4CD5D #D5DB8C

Accessibility & contrast

On white

2.23
#ABB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#ABB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB538
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB538#FFFFFF#000000##000000
##ABB5381.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC24
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#B6AA9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #abb538;
/* rgb */ color: rgb(171, 181, 56);
/* oklch */ color: oklch(74.2% 0.145 113.9);
Tailwind
colors: {
  custom: {
    50: '#c7cb76',
    500: '#abb538',
    950: '#000000',
  },
}
SCSS
$custom: #abb538;
$custom-light: #c7cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#abb538",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 64.8,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74218,
    "c": 0.14523,
    "h": 113.9
  },
  "luminance": 0.41991
}

Semantic roles & 50–950 ramp

primary
#ABB538
secondary
#8883C6
accent
#4CDC57
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB538

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

Preview Lab → · Contrast checker → · Palette generator →

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