#ABB31E#ABB31E

#ABB31E is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.6% C 0.157 H 113.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#ABB31E
RGBrgb(171, 179, 30)
HSLhsl(63, 71%, 41%)
HSVhsv(63, 83%, 70%)
CMYKcmyk(4.5%, 0%, 83.2%, 29.8%)
CIE-LABlab(70.17, -19.47, 66.97)
CIE-LCHlch(70.17, 69.75, 106.21°)
OKLaboklab(73.62% -0.0612 0.1444)
OKLCHoklch(73.62% 0.157 113)
XYZxyz(33.1502, 40.9926, 7.3941)
Luminance0.4099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB31E #261EB3
analogous
#B3701E #ABB31E #61B31E
triadic
#ABB31E #1EABB3 #B31EAB
tetradic
#ABB31E #1EB370 #261EB3 #B31E61
square
#ABB31E #1EB370 #261EB3 #B31E61
split-complementary
#ABB31E #1E61B3 #701EB3
monochromatic
#474A0C #797F15 #ABB31E #D3DD32 #DFE566

Accessibility & contrast

On white

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

On black

9.20
#ABB31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB31E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB31E#FFFFFF#000000##000000
##ABB31E1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AD2E
Tritanopia (blue-blind)
#B7A899
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb31e;
/* rgb */ color: rgb(171, 179, 30);
/* oklch */ color: oklch(73.6% 0.157 113.0);
Tailwind
colors: {
  custom: {
    50: '#c8c96a',
    500: '#abb31e',
    950: '#000000',
  },
}
SCSS
$custom: #abb31e;
$custom-light: #c8c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#abb31e",
  "rgb": {
    "r": 171,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 63.221,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73619,
    "c": 0.15684,
    "h": 113
  },
  "luminance": 0.40992
}

Semantic roles & 50–950 ramp

primary
#ABB31E
secondary
#6862CB
accent
#3AEE43
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A

Preview Lab

Preview with #ABB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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