#ABBA2D#ABBA2D

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

Color values

HEX#ABBA2D
RGBrgb(171, 186, 45)
HSLhsl(66, 61%, 45%)
HSVhsv(66, 76%, 73%)
CMYKcmyk(8.1%, 0%, 75.8%, 27.1%)
CIE-LABlab(72.21, -22.40, 64.53)
CIE-LCHlch(72.21, 68.31, 109.15°)
OKLaboklab(75.27% -0.0682 0.1418)
OKLCHoklch(75.27% 0.157 115.7)
XYZxyz(34.8281, 43.9658, 9.1336)
Luminance0.4396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA2D #3C2DBA
analogous
#BA822D #ABBA2D #64BA2D
triadic
#ABBA2D #2DABBA #BA2DAB
tetradic
#ABBA2D #2DBA82 #3C2DBA #BA2D64
square
#ABBA2D #2DBA82 #3C2DBA #BA2D64
split-complementary
#ABBA2D #2D64BA #822DBA
monochromatic
#505715 #7E8921 #ABBA2D #C6D550 #D6E081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABBA2D#FFFFFF#000000##000000
##ABBA2D1.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)
#C7B008
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#B6AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba2d;
/* rgb */ color: rgb(171, 186, 45);
/* oklch */ color: oklch(75.3% 0.157 115.7);
Tailwind
colors: {
  custom: {
    50: '#c8ce71',
    500: '#abba2d',
    950: '#000000',
  },
}
SCSS
$custom: #abba2d;
$custom-light: #c8ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#abba2d",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 66.383,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75273,
    "c": 0.15735,
    "h": 115.7
  },
  "luminance": 0.43965
}

Semantic roles & 50–950 ramp

primary
#ABBA2D
secondary
#8279C9
accent
#44E455
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABBA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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