#ABC381#ABC381

#ABC381 is a light, moderate yellow-green. Relative luminance 0.493; OKLCH L 78.3% C 0.092 H 124.7°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#ABC381
RGBrgb(171, 195, 129)
HSLhsl(82, 35%, 64%)
HSVhsv(82, 34%, 76%)
CMYKcmyk(12.3%, 0%, 33.8%, 23.5%)
CIE-LABlab(75.62, -19.38, 30.55)
CIE-LCHlch(75.62, 36.18, 122.38°)
OKLaboklab(78.3% -0.0526 0.0759)
OKLCHoklch(78.3% 0.092 124.7)
XYZxyz(40.2718, 49.2729, 28.1536)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC381 #9981C3
analogous
#C3BA81 #ABC381 #8AC381
triadic
#ABC381 #81ABC3 #C381AB
tetradic
#ABC381 #81C3BA #9981C3 #C3818A
square
#ABC381 #81C3BA #9981C3 #C3818A
split-complementary
#ABC381 #818AC3 #BA81C3
monochromatic
#6F8941 #8FAF58 #ABC381 #C7D7AA #E2EAD4

Accessibility & contrast

On white

1.93
#ABC381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#ABC381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC381
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC381#FFFFFF#000000##000000
##ABC3811.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABB7C
Deuteranopia (green-blind)
#C7BA84
Tritanopia (blue-blind)
#AFBDB2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #abc381;
/* rgb */ color: rgb(171, 195, 129);
/* oklch */ color: oklch(78.3% 0.092 124.7);
Tailwind
colors: {
  custom: {
    50: '#c5d5a6',
    500: '#abc381',
    950: '#000000',
  },
}
SCSS
$custom: #abc381;
$custom-light: #c5d5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#abc381",
  "rgb": {
    "r": 171,
    "g": 195,
    "b": 129
  },
  "hsl": {
    "h": 81.818,
    "s": 35.484,
    "l": 63.529
  },
  "oklch": {
    "l": 0.783,
    "c": 0.09239,
    "h": 124.7
  },
  "luminance": 0.49273
}

Semantic roles & 50–950 ramp

primary
#ABC381
secondary
#CDC4DC
accent
#37AE62
background
#FCFDFA
surface
#F8FAF4
border
#D1D3CE
text
#13140F
muted
#82837F

Preview Lab

Preview with #ABC381

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

Preview Lab → · Contrast checker → · Palette generator →

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