#ABC22F#ABC22F

#ABC22F is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.1% C 0.165 H 118.4°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#ABC22F
RGBrgb(171, 194, 47)
HSLhsl(69, 61%, 47%)
HSVhsv(69, 76%, 76%)
CMYKcmyk(11.9%, 0%, 75.8%, 23.9%)
CIE-LABlab(74.47, -26.21, 66.00)
CIE-LCHlch(74.47, 71.02, 111.66°)
OKLaboklab(77.1% -0.0786 0.1453)
OKLCHoklch(77.1% 0.165 118.4)
XYZxyz(36.6003, 47.4471, 9.9189)
Luminance0.4745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC22F #462FC2
analogous
#C2902F #ABC22F #61C22F
triadic
#ABC22F #2FABC2 #C22FAB
tetradic
#ABC22F #2FC290 #462FC2 #C22F61
square
#ABC22F #2FC290 #462FC2 #C22F61
split-complementary
#ABC22F #2F61C2 #902FC2
monochromatic
#545F17 #809123 #ABC22F #C3D658 #D4E289

Accessibility & contrast

On white

2.00
#ABC22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#ABC22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC22F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC22F#FFFFFF#000000##000000
##ABC22F1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB708
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#B5B7A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #abc22f;
/* rgb */ color: rgb(171, 194, 47);
/* oklch */ color: oklch(77.1% 0.165 118.4);
Tailwind
colors: {
  custom: {
    50: '#c8d473',
    500: '#abc22f',
    950: '#000000',
  },
}
SCSS
$custom: #abc22f;
$custom-light: #c8d473;
$custom-dark: #000000;
JSON
{
  "hex": "#abc22f",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 69.388,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.771,
    "c": 0.16514,
    "h": 118.4
  },
  "luminance": 0.47447
}

Semantic roles & 50–950 ramp

primary
#ABC22F
secondary
#8C81CC
accent
#44E45D
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #ABC22F

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

Preview Lab → · Contrast checker → · Palette generator →

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