#ABB040#ABB040

#ABB040 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.2% C 0.134 H 111.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#ABB040
RGBrgb(171, 176, 64)
HSLhsl(63, 47%, 47%)
HSVhsv(63, 64%, 69%)
CMYKcmyk(2.8%, 0%, 63.6%, 31%)
CIE-LABlab(69.53, -16.35, 54.78)
CIE-LCHlch(69.53, 57.17, 106.62°)
OKLaboklab(73.17% -0.0495 0.1244)
OKLCHoklch(73.17% 0.134 111.7)
XYZxyz(33.2463, 40.0795, 10.8343)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB040 #4540B0
analogous
#B07D40 #ABB040 #73B040
triadic
#ABB040 #40ABB0 #B040AB
tetradic
#ABB040 #40B07D #4540B0 #B04073
square
#ABB040 #40B07D #4540B0 #B04073
split-complementary
#ABB040 #4073B0 #7D40B0
monochromatic
#54561F #7F8330 #ABB040 #C3C766 #D5D893

Accessibility & contrast

On white

2.33
#ABB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#ABB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB040
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB040#FFFFFF#000000##000000
##ABB0401.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#BDAB47
Tritanopia (blue-blind)
#B6A699
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #abb040;
/* rgb */ color: rgb(171, 176, 64);
/* oklch */ color: oklch(73.2% 0.134 111.7);
Tailwind
colors: {
  custom: {
    50: '#c7c77a',
    500: '#abb040',
    950: '#000000',
  },
}
SCSS
$custom: #abb040;
$custom-light: #c7c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#abb040",
  "rgb": {
    "r": 171,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 62.679,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73166,
    "c": 0.13387,
    "h": 111.7
  },
  "luminance": 0.40079
}

Semantic roles & 50–950 ramp

primary
#ABB040
secondary
#8B89C3
accent
#51D657
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB040

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

Preview Lab → · Contrast checker → · Palette generator →

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