#ABB52E#ABB52E

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

Color values

HEX#ABB52E
RGBrgb(171, 181, 46)
HSLhsl(64, 59%, 45%)
HSVhsv(64, 75%, 71%)
CMYKcmyk(5.5%, 0%, 74.6%, 29%)
CIE-LABlab(70.80, -19.87, 62.89)
CIE-LCHlch(70.80, 65.96, 107.54°)
OKLaboklab(74.15% -0.0611 0.1385)
OKLCHoklch(74.15% 0.151 113.8)
XYZxyz(33.8126, 41.9036, 8.8913)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB52E #382EB5
analogous
#B57B2E #ABB52E #68B52E
triadic
#ABB52E #2EABB5 #B52EAB
tetradic
#ABB52E #2EB57B #382EB5 #B52E68
square
#ABB52E #2EB57B #382EB5 #B52E68
split-complementary
#ABB52E #2E68B5 #7B2EB5
monochromatic
#4F5315 #7D8422 #ABB52E #C8D24E #D7DE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB52E#FFFFFF#000000##000000
##ABB52E1.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)
#C3AC0F
Deuteranopia (green-blind)
#C2AF39
Tritanopia (blue-blind)
#B7AA9B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #abb52e;
/* rgb */ color: rgb(171, 181, 46);
/* oklch */ color: oklch(74.2% 0.151 113.8);
Tailwind
colors: {
  custom: {
    50: '#c8cb71',
    500: '#abb52e',
    950: '#000000',
  },
}
SCSS
$custom: #abb52e;
$custom-light: #c8cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#abb52e",
  "rgb": {
    "r": 171,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 64.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7415,
    "c": 0.15139,
    "h": 113.8
  },
  "luminance": 0.41903
}

Semantic roles & 50–950 ramp

primary
#ABB52E
secondary
#7D78C7
accent
#45E351
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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