#ABB52C#ABB52C

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

Color values

HEX#ABB52C
RGBrgb(171, 181, 44)
HSLhsl(64, 61%, 44%)
HSVhsv(64, 76%, 71%)
CMYKcmyk(5.5%, 0%, 75.7%, 29%)
CIE-LABlab(70.79, -19.96, 63.54)
CIE-LCHlch(70.79, 66.60, 107.44°)
OKLaboklab(74.14% -0.0615 0.1395)
OKLCHoklch(74.14% 0.152 113.8)
XYZxyz(33.7741, 41.8882, 8.6885)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB52C #362CB5
analogous
#B57B2C #ABB52C #66B52C
triadic
#ABB52C #2CABB5 #B52CAB
tetradic
#ABB52C #2CB57B #362CB5 #B52C66
square
#ABB52C #2CB57B #362CB5 #B52C66
split-complementary
#ABB52C #2C66B5 #7B2CB5
monochromatic
#4E5314 #7C8420 #ABB52C #C9D34B #D8DF7C

Accessibility & contrast

On white

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

On black

9.38
#ABB52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB52C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB52C#FFFFFF#000000##000000
##ABB52C1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abb52c;
/* rgb */ color: rgb(171, 181, 44);
/* oklch */ color: oklch(74.1% 0.152 113.8);
Tailwind
colors: {
  custom: {
    50: '#c8cb70',
    500: '#abb52c',
    950: '#000000',
  },
}
SCSS
$custom: #abb52c;
$custom-light: #c8cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#abb52c",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 64.38,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74138,
    "c": 0.15249,
    "h": 113.8
  },
  "luminance": 0.41888
}

Semantic roles & 50–950 ramp

primary
#ABB52C
secondary
#7B75C8
accent
#44E44F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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