#ABBA3B#ABBA3B

#ABBA3B is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.4% C 0.149 H 115.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#ABBA3B
RGBrgb(171, 186, 59)
HSLhsl(67, 52%, 48%)
HSVhsv(67, 68%, 73%)
CMYKcmyk(8.1%, 0%, 68.3%, 27.1%)
CIE-LABlab(72.29, -21.69, 59.66)
CIE-LCHlch(72.29, 63.48, 109.98°)
OKLaboklab(75.37% -0.065 0.1339)
OKLCHoklch(75.37% 0.149 115.9)
XYZxyz(35.1438, 44.0920, 10.7961)
Luminance0.4409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBA3B #4A3BBA
analogous
#BA8A3B #ABBA3B #6BBA3B
triadic
#ABBA3B #3BABBA #BA3BAB
tetradic
#ABBA3B #3BBA8A #4A3BBA #BA3B6B
square
#ABBA3B #3BBA8A #4A3BBA #BA3B6B
split-complementary
#ABBA3B #3B6BBA #8A3BBA
monochromatic
#565D1E #808C2C #ABBA3B #C1CE64 #D4DD93

Accessibility & contrast

On white

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

On black

9.82
#ABBA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBA3B
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBA3B#FFFFFF#000000##000000
##ABBA3B1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B128
Deuteranopia (green-blind)
#C6B244
Tritanopia (blue-blind)
#B6B0A1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abba3b;
/* rgb */ color: rgb(171, 186, 59);
/* oklch */ color: oklch(75.4% 0.149 115.9);
Tailwind
colors: {
  custom: {
    50: '#c7ce78',
    500: '#abba3b',
    950: '#000000',
  },
}
SCSS
$custom: #abba3b;
$custom-light: #c7ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#abba3b",
  "rgb": {
    "r": 171,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 67.087,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75367,
    "c": 0.1488,
    "h": 115.9
  },
  "luminance": 0.44092
}

Semantic roles & 50–950 ramp

primary
#ABBA3B
secondary
#9089C8
accent
#4DDB5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #ABBA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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