#ABB42B#ABB42B

#ABB42B 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.30:1 contrast (WCAG AA passes).

Color values

HEX#ABB42B
RGBrgb(171, 180, 43)
HSLhsl(64, 61%, 44%)
HSVhsv(64, 76%, 71%)
CMYKcmyk(5%, 0%, 76.1%, 29.4%)
CIE-LABlab(70.51, -19.51, 63.60)
CIE-LCHlch(70.51, 66.52, 107.05°)
OKLaboklab(73.91% -0.0604 0.1395)
OKLCHoklch(73.91% 0.152 113.4)
XYZxyz(33.5529, 41.4756, 8.5231)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB42B #342BB4
analogous
#B4782B #ABB42B #66B42B
triadic
#ABB42B #2BABB4 #B42BAB
tetradic
#ABB42B #2BB478 #342BB4 #B42B66
square
#ABB42B #2BB478 #342BB4 #B42B66
split-complementary
#ABB42B #2B66B4 #782BB4
monochromatic
#4D5113 #7C831F #ABB42B #CAD349 #D9DF7A

Accessibility & contrast

On white

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

On black

9.30
#ABB42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB42B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB42B#FFFFFF#000000##000000
##ABB42B1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abb42b;
/* rgb */ color: rgb(171, 180, 43);
/* oklch */ color: oklch(73.9% 0.152 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8ca70',
    500: '#abb42b',
    950: '#000000',
  },
}
SCSS
$custom: #abb42b;
$custom-light: #c8ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#abb42b",
  "rgb": {
    "r": 171,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 63.942,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73907,
    "c": 0.15196,
    "h": 113.4
  },
  "luminance": 0.41475
}

Semantic roles & 50–950 ramp

primary
#ABB42B
secondary
#7973C7
accent
#43E54E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB42B

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

Preview Lab → · Contrast checker → · Palette generator →

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