#ABBB45#ABBB45

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

Color values

HEX#ABBB45
RGBrgb(171, 187, 69)
HSLhsl(68, 46%, 50%)
HSVhsv(68, 63%, 73%)
CMYKcmyk(8.6%, 0%, 63.1%, 26.7%)
CIE-LABlab(72.65, -21.55, 55.99)
CIE-LCHlch(72.65, 59.99, 111.05°)
OKLaboklab(75.68% -0.0636 0.1276)
OKLCHoklch(75.68% 0.143 116.5)
XYZxyz(35.6398, 44.6287, 12.3658)
Luminance0.4463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB45 #5545BB
analogous
#BB9045 #ABBB45 #70BB45
triadic
#ABBB45 #45ABBB #BB45AB
tetradic
#ABBB45 #45BB90 #5545BB #BB4570
square
#ABBB45 #45BB90 #5545BB #BB4570
split-complementary
#ABBB45 #4570BB #9045BB
monochromatic
#596224 #828F34 #ABBB45 #BFCB72 #D3DC9F

Accessibility & contrast

On white

2.12
#ABBB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABBB45#FFFFFF#000000##000000
##ABBB451.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B236
Deuteranopia (green-blind)
#C6B34D
Tritanopia (blue-blind)
#B5B1A2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb45;
/* rgb */ color: rgb(171, 187, 69);
/* oklch */ color: oklch(75.7% 0.143 116.5);
Tailwind
colors: {
  custom: {
    50: '#c7cf7e',
    500: '#abbb45',
    950: '#000000',
  },
}
SCSS
$custom: #abbb45;
$custom-light: #c7cf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb45",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 68.136,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75678,
    "c": 0.1426,
    "h": 116.5
  },
  "luminance": 0.44628
}

Semantic roles & 50–950 ramp

primary
#ABBB45
secondary
#9B94C8
accent
#52D664
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABBB45

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

Preview Lab → · Contrast checker → · Palette generator →

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