#ABB42C#ABB42C

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

Color values

HEX#ABB42C
RGBrgb(171, 180, 44)
HSLhsl(64, 61%, 44%)
HSVhsv(64, 76%, 71%)
CMYKcmyk(5%, 0%, 75.6%, 29.4%)
CIE-LABlab(70.51, -19.46, 63.28)
CIE-LCHlch(70.51, 66.21, 107.10°)
OKLaboklab(73.91% -0.0602 0.139)
OKLCHoklch(73.91% 0.151 113.4)
XYZxyz(33.5715, 41.4830, 8.6209)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB42C #352CB4
analogous
#B4792C #ABB42C #67B42C
triadic
#ABB42C #2CABB4 #B42CAB
tetradic
#ABB42C #2CB479 #352CB4 #B42C67
square
#ABB42C #2CB479 #352CB4 #B42C67
split-complementary
#ABB42C #2C67B4 #792CB4
monochromatic
#4E5214 #7C8320 #ABB42C #CAD34A #D8DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB42C#FFFFFF#000000##000000
##ABB42C1.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)
#C2AB0A
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#B7A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb42c;
/* rgb */ color: rgb(171, 180, 44);
/* oklch */ color: oklch(73.9% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8ca70',
    500: '#abb42c',
    950: '#000000',
  },
}
SCSS
$custom: #abb42c;
$custom-light: #c8ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#abb42c",
  "rgb": {
    "r": 171,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 63.971,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73913,
    "c": 0.15142,
    "h": 113.4
  },
  "luminance": 0.41482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABB42C

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

Preview Lab → · Contrast checker → · Palette generator →

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