#ABB142#ABB142

#ABB142 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.4% C 0.133 H 112.2°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#ABB142
RGBrgb(171, 177, 66)
HSLhsl(63, 46%, 48%)
HSVhsv(63, 63%, 69%)
CMYKcmyk(3.4%, 0%, 62.7%, 30.6%)
CIE-LABlab(69.82, -16.73, 54.24)
CIE-LCHlch(69.82, 56.77, 107.14°)
OKLaboklab(73.41% -0.0504 0.1235)
OKLCHoklch(73.41% 0.133 112.2)
XYZxyz(33.5010, 40.4963, 11.2050)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB142 #4842B1
analogous
#B17F42 #ABB142 #74B142
triadic
#ABB142 #42ABB1 #B142AB
tetradic
#ABB142 #42B17F #4842B1 #B14274
square
#ABB142 #42B17F #4842B1 #B14274
split-complementary
#ABB142 #4274B1 #7F42B1
monochromatic
#555821 #808431 #ABB142 #C2C769 #D4D896

Accessibility & contrast

On white

2.31
#ABB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#ABB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB142
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB142#FFFFFF#000000##000000
##ABB1421.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA934
Deuteranopia (green-blind)
#BEAC49
Tritanopia (blue-blind)
#B6A79A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb142;
/* rgb */ color: rgb(171, 177, 66);
/* oklch */ color: oklch(73.4% 0.133 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c87c',
    500: '#abb142',
    950: '#000000',
  },
}
SCSS
$custom: #abb142;
$custom-light: #c7c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#abb142",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 63.243,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73407,
    "c": 0.13341,
    "h": 112.2
  },
  "luminance": 0.40496
}

Semantic roles & 50–950 ramp

primary
#ABB142
secondary
#8E8BC3
accent
#52D55A
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB142

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

Preview Lab → · Contrast checker → · Palette generator →

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