#ABB931#ABB931

#ABB931 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.1% C 0.154 H 115.4°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#ABB931
RGBrgb(171, 185, 49)
HSLhsl(66, 58%, 46%)
HSVhsv(66, 74%, 73%)
CMYKcmyk(7.6%, 0%, 73.5%, 27.5%)
CIE-LABlab(71.95, -21.72, 62.96)
CIE-LCHlch(71.95, 66.60, 109.04°)
OKLaboklab(75.07% -0.066 0.1392)
OKLCHoklch(75.07% 0.154 115.4)
XYZxyz(34.6989, 43.5782, 9.4887)
Luminance0.4358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB931 #3F31B9
analogous
#B98331 #ABB931 #67B931
triadic
#ABB931 #31ABB9 #B931AB
tetradic
#ABB931 #31B983 #3F31B9 #B93167
square
#ABB931 #31B983 #3F31B9 #B93167
split-complementary
#ABB931 #3167B9 #8331B9
monochromatic
#525817 #7E8924 #ABB931 #C5D255 #D6DF86

Accessibility & contrast

On white

2.16
#ABB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#ABB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB931
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB931#FFFFFF#000000##000000
##ABB9311.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#B6AE9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #abb931;
/* rgb */ color: rgb(171, 185, 49);
/* oklch */ color: oklch(75.1% 0.154 115.4);
Tailwind
colors: {
  custom: {
    50: '#c7cd73',
    500: '#abb931',
    950: '#000000',
  },
}
SCSS
$custom: #abb931;
$custom-light: #c7cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#abb931",
  "rgb": {
    "r": 171,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 66.176,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75071,
    "c": 0.15403,
    "h": 115.4
  },
  "luminance": 0.43578
}

Semantic roles & 50–950 ramp

primary
#ABB931
secondary
#857DC8
accent
#46E156
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #ABB931

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

Preview Lab → · Contrast checker → · Palette generator →

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