#ABB831#ABB831

#ABB831 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.153 H 115.0°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#ABB831
RGBrgb(171, 184, 49)
HSLhsl(66, 58%, 46%)
HSVhsv(66, 73%, 72%)
CMYKcmyk(7.1%, 0%, 73.4%, 27.8%)
CIE-LABlab(71.66, -21.23, 62.69)
CIE-LCHlch(71.66, 66.19, 108.71°)
OKLaboklab(74.85% -0.0646 0.1386)
OKLCHoklch(74.85% 0.153 115)
XYZxyz(34.4904, 43.1613, 9.4192)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB831 #3E31B8
analogous
#B88131 #ABB831 #67B831
triadic
#ABB831 #31ABB8 #B831AB
tetradic
#ABB831 #31B881 #3E31B8 #B83167
square
#ABB831 #31B881 #3E31B8 #B83167
split-complementary
#ABB831 #3167B8 #8131B8
monochromatic
#515717 #7E8824 #ABB831 #C6D255 #D6DE85

Accessibility & contrast

On white

2.18
#ABB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#ABB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB831
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB831#FFFFFF#000000##000000
##ABB8311.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF15
Deuteranopia (green-blind)
#C4B13C
Tritanopia (blue-blind)
#B6AD9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #abb831;
/* rgb */ color: rgb(171, 184, 49);
/* oklch */ color: oklch(74.8% 0.153 115.0);
Tailwind
colors: {
  custom: {
    50: '#c7cd73',
    500: '#abb831',
    950: '#000000',
  },
}
SCSS
$custom: #abb831;
$custom-light: #c7cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#abb831",
  "rgb": {
    "r": 171,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 65.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74845,
    "c": 0.15293,
    "h": 115
  },
  "luminance": 0.43161
}

Semantic roles & 50–950 ramp

primary
#ABB831
secondary
#847DC8
accent
#47E156
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #ABB831

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

Preview Lab → · Contrast checker → · Palette generator →

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