#ABB331#ABB331

#ABB331 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.7% C 0.148 H 113.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#ABB331
RGBrgb(171, 179, 49)
HSLhsl(64, 57%, 45%)
HSVhsv(64, 73%, 70%)
CMYKcmyk(4.5%, 0%, 72.6%, 29.8%)
CIE-LABlab(70.26, -18.73, 61.35)
CIE-LCHlch(70.26, 64.14, 106.98°)
OKLaboklab(73.72% -0.0577 0.1358)
OKLCHoklch(73.72% 0.148 113)
XYZxyz(33.4701, 41.1206, 9.0791)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB331 #3931B3
analogous
#B37A31 #ABB331 #6AB331
triadic
#ABB331 #31ABB3 #B331AB
tetradic
#ABB331 #31B37A #3931B3 #B3316A
square
#ABB331 #31B37A #3931B3 #B3316A
split-complementary
#ABB331 #316AB3 #7A31B3
monochromatic
#4F5317 #7D8324 #ABB331 #C8D052 #D7DD82

Accessibility & contrast

On white

2.28
#ABB331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#ABB331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB331
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB331#FFFFFF#000000##000000
##ABB3311.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA18
Deuteranopia (green-blind)
#C1AD3B
Tritanopia (blue-blind)
#B7A89A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb331;
/* rgb */ color: rgb(171, 179, 49);
/* oklch */ color: oklch(73.7% 0.148 113.0);
Tailwind
colors: {
  custom: {
    50: '#c7c972',
    500: '#abb331',
    950: '#000000',
  },
}
SCSS
$custom: #abb331;
$custom-light: #c7c972;
$custom-dark: #000000;
JSON
{
  "hex": "#abb331",
  "rgb": {
    "r": 171,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 63.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7372,
    "c": 0.14751,
    "h": 113
  },
  "luminance": 0.4112
}

Semantic roles & 50–950 ramp

primary
#ABB331
secondary
#7F7AC6
accent
#48E051
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #ABB331

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

Preview Lab → · Contrast checker → · Palette generator →

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