#ABB22B#ABB22B

#ABB22B is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.5% C 0.150 H 112.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#ABB22B
RGBrgb(171, 178, 43)
HSLhsl(63, 61%, 43%)
HSVhsv(63, 76%, 70%)
CMYKcmyk(3.9%, 0%, 75.8%, 30.2%)
CIE-LABlab(69.95, -18.50, 63.08)
CIE-LCHlch(69.95, 65.74, 106.35°)
OKLaboklab(73.46% -0.0576 0.1384)
OKLCHoklch(73.46% 0.15 112.6)
XYZxyz(33.1521, 40.6739, 8.3895)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB22B #322BB2
analogous
#B2752B #ABB22B #67B22B
triadic
#ABB22B #2BABB2 #B22BAB
tetradic
#ABB22B #2BB275 #322BB2 #B22B67
square
#ABB22B #2BB275 #322BB2 #B22B67
split-complementary
#ABB22B #2B67B2 #752BB2
monochromatic
#4C4F13 #7C811F #ABB22B #CBD348 #D9DF79

Accessibility & contrast

On white

2.30
#ABB22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#ABB22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB22B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB22B#FFFFFF#000000##000000
##ABB22B1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A908
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#B7A799
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb22b;
/* rgb */ color: rgb(171, 178, 43);
/* oklch */ color: oklch(73.5% 0.150 112.6);
Tailwind
colors: {
  custom: {
    50: '#c8c86f',
    500: '#abb22b',
    950: '#000000',
  },
}
SCSS
$custom: #abb22b;
$custom-light: #c8c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb22b",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 63.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73458,
    "c": 0.14986,
    "h": 112.6
  },
  "luminance": 0.40673
}

Semantic roles & 50–950 ramp

primary
#ABB22B
secondary
#7772C7
accent
#44E44C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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