#ABBA2C#ABBA2C

#ABBA2C is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.3% C 0.158 H 115.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#ABBA2C
RGBrgb(171, 186, 44)
HSLhsl(66, 62%, 45%)
HSVhsv(66, 76%, 73%)
CMYKcmyk(8.1%, 0%, 76.3%, 27.1%)
CIE-LABlab(72.20, -22.45, 64.84)
CIE-LCHlch(72.20, 68.62, 109.09°)
OKLaboklab(75.27% -0.0684 0.1423)
OKLCHoklch(75.27% 0.158 115.7)
XYZxyz(34.8091, 43.9581, 9.0334)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA2C #3B2CBA
analogous
#BA822C #ABBA2C #64BA2C
triadic
#ABBA2C #2CABBA #BA2CAB
tetradic
#ABBA2C #2CBA82 #3B2CBA #BA2C64
square
#ABBA2C #2CBA82 #3B2CBA #BA2C64
split-complementary
#ABBA2C #2C64BA #822CBA
monochromatic
#505715 #7D8920 #ABBA2C #C7D54E #D7E180

Accessibility & contrast

On white

2.14
#ABBA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#ABBA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBA2C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBA2C#FFFFFF#000000##000000
##ABBA2C1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B004
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#B6AF9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba2c;
/* rgb */ color: rgb(171, 186, 44);
/* oklch */ color: oklch(75.3% 0.158 115.7);
Tailwind
colors: {
  custom: {
    50: '#c8ce71',
    500: '#abba2c',
    950: '#000000',
  },
}
SCSS
$custom: #abba2c;
$custom-light: #c8ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#abba2c",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 66.338,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75267,
    "c": 0.15787,
    "h": 115.7
  },
  "luminance": 0.43958
}

Semantic roles & 50–950 ramp

primary
#ABBA2C
secondary
#8178CA
accent
#43E554
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABBA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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