#ABB942#ABB942

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

Color values

HEX#ABB942
RGBrgb(171, 185, 66)
HSLhsl(67, 47%, 49%)
HSVhsv(67, 64%, 73%)
CMYKcmyk(7.6%, 0%, 64.3%, 27.5%)
CIE-LABlab(72.06, -20.76, 56.62)
CIE-LCHlch(72.06, 60.30, 110.13°)
OKLaboklab(75.2% -0.0617 0.1285)
OKLCHoklch(75.2% 0.143 115.6)
XYZxyz(35.1277, 43.7497, 11.7472)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB942 #5042B9
analogous
#B98C42 #ABB942 #70B942
triadic
#ABB942 #42ABB9 #B942AB
tetradic
#ABB942 #42B98C #5042B9 #B94270
square
#ABB942 #42B98C #5042B9 #B94270
split-complementary
#ABB942 #4270B9 #8C42B9
monochromatic
#585F22 #818C32 #ABB942 #C0CB6D #D3DB9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB942#FFFFFF#000000##000000
##ABB9421.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)
#C5B032
Deuteranopia (green-blind)
#C4B24A
Tritanopia (blue-blind)
#B5AFA0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #abb942;
/* rgb */ color: rgb(171, 185, 66);
/* oklch */ color: oklch(75.2% 0.143 115.6);
Tailwind
colors: {
  custom: {
    50: '#c7cd7c',
    500: '#abb942',
    950: '#000000',
  },
}
SCSS
$custom: #abb942;
$custom-light: #c7cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#abb942",
  "rgb": {
    "r": 171,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 67.059,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.752,
    "c": 0.14257,
    "h": 115.6
  },
  "luminance": 0.43749
}

Semantic roles & 50–950 ramp

primary
#ABB942
secondary
#9690C7
accent
#51D761
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB942

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

Preview Lab → · Contrast checker → · Palette generator →

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