#ABB22D#ABB22D

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

Color values

HEX#ABB22D
RGBrgb(171, 178, 45)
HSLhsl(63, 60%, 44%)
HSVhsv(63, 75%, 70%)
CMYKcmyk(3.9%, 0%, 74.7%, 30.2%)
CIE-LABlab(69.96, -18.41, 62.43)
CIE-LCHlch(69.96, 65.09, 106.43°)
OKLaboklab(73.47% -0.0572 0.1374)
OKLCHoklch(73.47% 0.149 112.6)
XYZxyz(33.1897, 40.6890, 8.5875)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB22D #342DB2
analogous
#B2762D #ABB22D #68B22D
triadic
#ABB22D #2DABB2 #B22DAB
tetradic
#ABB22D #2DB276 #342DB2 #B22D68
square
#ABB22D #2DB276 #342DB2 #B22D68
split-complementary
#ABB22D #2D68B2 #762DB2
monochromatic
#4D5014 #7C8121 #ABB22D #CAD14B #D9DE7C

Accessibility & contrast

On white

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

On black

9.14
#ABB22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB22D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB22D#FFFFFF#000000##000000
##ABB22D1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abb22d;
/* rgb */ color: rgb(171, 178, 45);
/* oklch */ color: oklch(73.5% 0.149 112.6);
Tailwind
colors: {
  custom: {
    50: '#c8c870',
    500: '#abb22d',
    950: '#000000',
  },
}
SCSS
$custom: #abb22d;
$custom-light: #c8c870;
$custom-dark: #000000;
JSON
{
  "hex": "#abb22d",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 63.158,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7347,
    "c": 0.14877,
    "h": 112.6
  },
  "luminance": 0.40688
}

Semantic roles & 50–950 ramp

primary
#ABB22D
secondary
#7975C6
accent
#45E34D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB22D

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

Preview Lab → · Contrast checker → · Palette generator →

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