#ABBB47#ABBB47

#ABBB47 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.7% C 0.141 H 116.5°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#ABBB47
RGBrgb(171, 187, 71)
HSLhsl(68, 46%, 51%)
HSVhsv(68, 62%, 73%)
CMYKcmyk(8.6%, 0%, 62%, 26.7%)
CIE-LABlab(72.66, -21.40, 55.15)
CIE-LCHlch(72.66, 59.16, 111.21°)
OKLaboklab(75.7% -0.063 0.1262)
OKLCHoklch(75.7% 0.141 116.5)
XYZxyz(35.7030, 44.6539, 12.6983)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB47 #5747BB
analogous
#BB9147 #ABBB47 #71BB47
triadic
#ABBB47 #47ABBB #BB47AB
tetradic
#ABBB47 #47BB91 #5747BB #BB4771
square
#ABBB47 #47BB91 #5747BB #BB4771
split-complementary
#ABBB47 #4771BB #9147BB
monochromatic
#5A6325 #839035 #ABBB47 #BFCC74 #D4DCA0

Accessibility & contrast

On white

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

On black

9.93
#ABBB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB47
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB47#FFFFFF#000000##000000
##ABBB471.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B239
Deuteranopia (green-blind)
#C6B34F
Tritanopia (blue-blind)
#B5B1A3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb47;
/* rgb */ color: rgb(171, 187, 71);
/* oklch */ color: oklch(75.7% 0.141 116.5);
Tailwind
colors: {
  custom: {
    50: '#c7cf7f',
    500: '#abbb47',
    950: '#000000',
  },
}
SCSS
$custom: #abbb47;
$custom-light: #c7cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb47",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 71
  },
  "hsl": {
    "h": 68.276,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75697,
    "c": 0.141,
    "h": 116.5
  },
  "luminance": 0.44654
}

Semantic roles & 50–950 ramp

primary
#ABBB47
secondary
#9C95C9
accent
#52D664
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABBB47

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

Preview Lab → · Contrast checker → · Palette generator →

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