#ABB940#ABB940

#ABB940 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.2% C 0.144 H 115.6°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#ABB940
RGBrgb(171, 185, 64)
HSLhsl(67, 49%, 49%)
HSVhsv(67, 65%, 73%)
CMYKcmyk(7.6%, 0%, 65.4%, 27.5%)
CIE-LABlab(72.05, -20.89, 57.42)
CIE-LCHlch(72.05, 61.10, 109.99°)
OKLaboklab(75.18% -0.0622 0.13)
OKLCHoklch(75.18% 0.144 115.6)
XYZxyz(35.0698, 43.7265, 11.4421)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB940 #4E40B9
analogous
#B98B40 #ABB940 #6FB940
triadic
#ABB940 #40ABB9 #B940AB
tetradic
#ABB940 #40B98B #4E40B9 #B9406F
square
#ABB940 #40B98B #4E40B9 #B9406F
split-complementary
#ABB940 #406FB9 #8B40B9
monochromatic
#575E21 #818C30 #ABB940 #C0CC6B #D4DB98

Accessibility & contrast

On white

2.15
#ABB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#ABB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB940
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB940#FFFFFF#000000##000000
##ABB9401.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#C5B248
Tritanopia (blue-blind)
#B5AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abb940;
/* rgb */ color: rgb(171, 185, 64);
/* oklch */ color: oklch(75.2% 0.144 115.6);
Tailwind
colors: {
  custom: {
    50: '#c7cd7b',
    500: '#abb940',
    950: '#000000',
  },
}
SCSS
$custom: #abb940;
$custom-light: #c7cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#abb940",
  "rgb": {
    "r": 171,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 66.942,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.14409,
    "h": 115.6
  },
  "luminance": 0.43726
}

Semantic roles & 50–950 ramp

primary
#ABB940
secondary
#948EC7
accent
#50D85F
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB940

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

Preview Lab → · Contrast checker → · Palette generator →

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