#ABBA45#ABBA45

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

Color values

HEX#ABBA45
RGBrgb(171, 186, 69)
HSLhsl(68, 46%, 50%)
HSVhsv(68, 63%, 73%)
CMYKcmyk(8.1%, 0%, 62.9%, 27.1%)
CIE-LABlab(72.37, -21.05, 55.69)
CIE-LCHlch(72.37, 59.53, 110.71°)
OKLaboklab(75.45% -0.0622 0.127)
OKLCHoklch(75.45% 0.141 116.1)
XYZxyz(35.4284, 44.2059, 12.2953)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA45 #5445BA
analogous
#BA8E45 #ABBA45 #71BA45
triadic
#ABBA45 #45ABBA #BA45AB
tetradic
#ABBA45 #45BA8E #5445BA #BA4571
square
#ABBA45 #45BA8E #5445BA #BA4571
split-complementary
#ABBA45 #4571BA #8E45BA
monochromatic
#596124 #828D34 #ABBA45 #BFCB72 #D3DB9E

Accessibility & contrast

On white

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

On black

9.84
#ABBA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBA45
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBA45#FFFFFF#000000##000000
##ABBA451.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B136
Deuteranopia (green-blind)
#C5B24D
Tritanopia (blue-blind)
#B5B0A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba45;
/* rgb */ color: rgb(171, 186, 69);
/* oklch */ color: oklch(75.5% 0.141 116.1);
Tailwind
colors: {
  custom: {
    50: '#c7ce7e',
    500: '#abba45',
    950: '#000000',
  },
}
SCSS
$custom: #abba45;
$custom-light: #c7ce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#abba45",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 67.692,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.75452,
    "c": 0.14141,
    "h": 116.1
  },
  "luminance": 0.44205
}

Semantic roles & 50–950 ramp

primary
#ABBA45
secondary
#9A93C8
accent
#52D663
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABBA45

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

Preview Lab → · Contrast checker → · Palette generator →

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