#ABB52A#ABB52A

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

Color values

HEX#ABB52A
RGBrgb(171, 181, 42)
HSLhsl(64, 62%, 44%)
HSVhsv(64, 77%, 71%)
CMYKcmyk(5.5%, 0%, 76.8%, 29%)
CIE-LABlab(70.78, -20.05, 64.17)
CIE-LCHlch(70.78, 67.22, 107.35°)
OKLaboklab(74.13% -0.0619 0.1405)
OKLCHoklch(74.13% 0.154 113.8)
XYZxyz(33.7374, 41.8735, 8.4952)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB52A #342AB5
analogous
#B5792A #ABB52A #65B52A
triadic
#ABB52A #2AABB5 #B52AAB
tetradic
#ABB52A #2AB579 #342AB5 #B52A65
square
#ABB52A #2AB579 #342AB5 #B52A65
split-complementary
#ABB52A #2A65B5 #792AB5
monochromatic
#4D5213 #7C831E #ABB52A #CAD448 #D9E079

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB52A#FFFFFF#000000##000000
##ABB52A1.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)
#C3AC02
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#B7AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #abb52a;
/* rgb */ color: rgb(171, 181, 42);
/* oklch */ color: oklch(74.1% 0.154 113.8);
Tailwind
colors: {
  custom: {
    50: '#c8cb6f',
    500: '#abb52a',
    950: '#000000',
  },
}
SCSS
$custom: #abb52a;
$custom-light: #c8cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb52a",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 64.317,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74127,
    "c": 0.15354,
    "h": 113.8
  },
  "luminance": 0.41873
}

Semantic roles & 50–950 ramp

primary
#ABB52A
secondary
#7973C8
accent
#42E54E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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