#ABB42A#ABB42A

#ABB42A is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.152 H 113.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#ABB42A
RGBrgb(171, 180, 42)
HSLhsl(64, 62%, 44%)
HSVhsv(64, 77%, 71%)
CMYKcmyk(5%, 0%, 76.7%, 29.4%)
CIE-LABlab(70.50, -19.55, 63.91)
CIE-LCHlch(70.50, 66.83, 107.01°)
OKLaboklab(73.9% -0.0606 0.1399)
OKLCHoklch(73.9% 0.152 113.4)
XYZxyz(33.5348, 41.4683, 8.4277)
Luminance0.4147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB42A #332AB4
analogous
#B4782A #ABB42A #66B42A
triadic
#ABB42A #2AABB4 #B42AAB
tetradic
#ABB42A #2AB478 #332AB4 #B42A66
square
#ABB42A #2AB478 #332AB4 #B42A66
split-complementary
#ABB42A #2A66B4 #782AB4
monochromatic
#4D5113 #7C821E #ABB42A #CBD447 #D9E079

Accessibility & contrast

On white

2.26
#ABB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#ABB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB42A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB42A#FFFFFF#000000##000000
##ABB42A1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB03
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#B7A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb42a;
/* rgb */ color: rgb(171, 180, 42);
/* oklch */ color: oklch(73.9% 0.152 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8ca6f',
    500: '#abb42a',
    950: '#000000',
  },
}
SCSS
$custom: #abb42a;
$custom-light: #c8ca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb42a",
  "rgb": {
    "r": 171,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 63.913,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73902,
    "c": 0.15248,
    "h": 113.4
  },
  "luminance": 0.41468
}

Semantic roles & 50–950 ramp

primary
#ABB42A
secondary
#7872C8
accent
#43E54D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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