#ABC266#ABC266

#ABC266 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.6% C 0.121 H 120.8°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#ABC266
RGBrgb(171, 194, 102)
HSLhsl(75, 43%, 58%)
HSVhsv(75, 47%, 76%)
CMYKcmyk(11.9%, 0%, 47.4%, 23.9%)
CIE-LABlab(74.95, -22.13, 43.42)
CIE-LCHlch(74.95, 48.73, 117.01°)
OKLaboklab(77.64% -0.0621 0.104)
OKLCHoklch(77.64% 0.121 120.8)
XYZxyz(38.4848, 48.2009, 19.8440)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC266 #7D66C2
analogous
#C2AB66 #ABC266 #7DC266
triadic
#ABC266 #66ABC2 #C266AB
tetradic
#ABC266 #66C2AB #7D66C2 #C2667D
square
#ABC266 #66C2AB #7D66C2 #C2667D
split-complementary
#ABC266 #667DC2 #AB66C2
monochromatic
#697C31 #8FA843 #ABC266 #C3D392 #DBE5BE

Accessibility & contrast

On white

1.97
#ABC266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#ABC266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC266
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC266#FFFFFF#000000##000000
##ABC2661.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB95E
Deuteranopia (green-blind)
#C9B96B
Tritanopia (blue-blind)
#B2BAAD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc266;
/* rgb */ color: rgb(171, 194, 102);
/* oklch */ color: oklch(77.6% 0.121 120.8);
Tailwind
colors: {
  custom: {
    50: '#c5d493',
    500: '#abc266',
    950: '#000000',
  },
}
SCSS
$custom: #abc266;
$custom-light: #c5d493;
$custom-dark: #000000;
JSON
{
  "hex": "#abc266",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 102
  },
  "hsl": {
    "h": 75,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.77636,
    "c": 0.12108,
    "h": 120.8
  },
  "luminance": 0.48201
}

Semantic roles & 50–950 ramp

primary
#ABC266
secondary
#B9B0D4
accent
#55D374
background
#FCFDF9
surface
#F8FAF1
border
#D1D3CB
text
#13140D
muted
#82837E

Preview Lab

Preview with #ABC266

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

Preview Lab → · Contrast checker → · Palette generator →

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