#ABBC2F#ABBC2F

#ABBC2F is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.7% C 0.158 H 116.4°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#ABBC2F
RGBrgb(171, 188, 47)
HSLhsl(67, 60%, 46%)
HSVhsv(67, 75%, 74%)
CMYKcmyk(9%, 0%, 75%, 26.3%)
CIE-LABlab(72.78, -23.30, 64.42)
CIE-LCHlch(72.78, 68.50, 109.88°)
OKLaboklab(75.74% -0.0705 0.1419)
OKLCHoklch(75.74% 0.158 116.4)
XYZxyz(35.2918, 44.8301, 9.4827)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBC2F #402FBC
analogous
#BC862F #ABBC2F #64BC2F
triadic
#ABBC2F #2FABBC #BC2FAB
tetradic
#ABBC2F #2FBC86 #402FBC #BC2F64
square
#ABBC2F #2FBC86 #402FBC #BC2F64
split-complementary
#ABBC2F #2F64BC #862FBC
monochromatic
#525A17 #7E8B23 #ABBC2F #C5D454 #D5E085

Accessibility & contrast

On white

2.11
#ABBC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#ABBC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBC2F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBC2F#FFFFFF#000000##000000
##ABBC2F1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B20D
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#B6B1A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #abbc2f;
/* rgb */ color: rgb(171, 188, 47);
/* oklch */ color: oklch(75.7% 0.158 116.4);
Tailwind
colors: {
  custom: {
    50: '#c8d073',
    500: '#abbc2f',
    950: '#000000',
  },
}
SCSS
$custom: #abbc2f;
$custom-light: #c8d073;
$custom-dark: #000000;
JSON
{
  "hex": "#abbc2f",
  "rgb": {
    "r": 171,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 67.234,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75737,
    "c": 0.15846,
    "h": 116.4
  },
  "luminance": 0.4483
}

Semantic roles & 50–950 ramp

primary
#ABBC2F
secondary
#867DCA
accent
#45E358
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #ABBC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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