#ABBB2F#ABBB2F

#ABBB2F is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.5% C 0.157 H 116.1°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#ABBB2F
RGBrgb(171, 187, 47)
HSLhsl(67, 60%, 46%)
HSVhsv(67, 75%, 73%)
CMYKcmyk(8.6%, 0%, 74.9%, 26.7%)
CIE-LABlab(72.50, -22.81, 64.15)
CIE-LCHlch(72.50, 68.09, 109.57°)
OKLaboklab(75.51% -0.0692 0.1413)
OKLCHoklch(75.51% 0.157 116.1)
XYZxyz(35.0789, 44.4043, 9.4117)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB2F #3F2FBB
analogous
#BB852F #ABBB2F #65BB2F
triadic
#ABBB2F #2FABBB #BB2FAB
tetradic
#ABBB2F #2FBB85 #3F2FBB #BB2F65
square
#ABBB2F #2FBB85 #3F2FBB #BB2F65
split-complementary
#ABBB2F #2F65BB #852FBB
monochromatic
#525916 #7E8A23 #ABBB2F #C5D453 #D6E084

Accessibility & contrast

On white

2.13
#ABBB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#ABBB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB2F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB2F#FFFFFF#000000##000000
##ABBB2F1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10E
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#B6B0A1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb2f;
/* rgb */ color: rgb(171, 187, 47);
/* oklch */ color: oklch(75.5% 0.157 116.1);
Tailwind
colors: {
  custom: {
    50: '#c8cf72',
    500: '#abbb2f',
    950: '#000000',
  },
}
SCSS
$custom: #abbb2f;
$custom-light: #c8cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb2f",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 66.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75511,
    "c": 0.15736,
    "h": 116.1
  },
  "luminance": 0.44404
}

Semantic roles & 50–950 ramp

primary
#ABBB2F
secondary
#857CC9
accent
#45E357
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #ABBB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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