#ABB42D#ABB42D

#ABB42D 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#ABB42D
RGBrgb(171, 180, 45)
HSLhsl(64, 60%, 44%)
HSVhsv(64, 75%, 71%)
CMYKcmyk(5%, 0%, 75%, 29.4%)
CIE-LABlab(70.52, -19.42, 62.96)
CIE-LCHlch(70.52, 65.88, 107.14°)
OKLaboklab(73.92% -0.0599 0.1385)
OKLCHoklch(73.92% 0.151 113.4)
XYZxyz(33.5905, 41.4906, 8.7211)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB42D #362DB4
analogous
#B47A2D #ABB42D #68B42D
triadic
#ABB42D #2DABB4 #B42DAB
tetradic
#ABB42D #2DB47A #362DB4 #B42D68
square
#ABB42D #2DB47A #362DB4 #B42D68
split-complementary
#ABB42D #2D68B4 #7A2DB4
monochromatic
#4E5215 #7C8321 #ABB42D #C9D24C #D8DE7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #abb42d;
/* rgb */ color: rgb(171, 180, 45);
/* oklch */ color: oklch(73.9% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#c8ca71',
    500: '#abb42d',
    950: '#000000',
  },
}
SCSS
$custom: #abb42d;
$custom-light: #c8ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#abb42d",
  "rgb": {
    "r": 171,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 64,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73919,
    "c": 0.15088,
    "h": 113.4
  },
  "luminance": 0.4149
}

Semantic roles & 50–950 ramp

primary
#ABB42D
secondary
#7B76C7
accent
#45E34F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB42D

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

Preview Lab → · Contrast checker → · Palette generator →

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