#ABB342#ABB342

#ABB342 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.9% C 0.136 H 113.1°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#ABB342
RGBrgb(171, 179, 66)
HSLhsl(64, 46%, 48%)
HSVhsv(64, 63%, 70%)
CMYKcmyk(4.5%, 0%, 63.1%, 29.8%)
CIE-LABlab(70.38, -17.74, 54.84)
CIE-LCHlch(70.38, 57.64, 107.93°)
OKLaboklab(73.85% -0.0532 0.1248)
OKLCHoklch(73.85% 0.136 113.1)
XYZxyz(33.8989, 41.2922, 11.3376)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB342 #4A42B3
analogous
#B38242 #ABB342 #72B342
triadic
#ABB342 #42ABB3 #B342AB
tetradic
#ABB342 #42B382 #4A42B3 #B34272
square
#ABB342 #42B382 #4A42B3 #B34272
split-complementary
#ABB342 #4272B3 #8242B3
monochromatic
#565A21 #808632 #ABB342 #C1C86A #D4D997

Accessibility & contrast

On white

2.27
#ABB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#ABB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB342
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB342#FFFFFF#000000##000000
##ABB3421.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB34
Deuteranopia (green-blind)
#C0AD49
Tritanopia (blue-blind)
#B6A99C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb342;
/* rgb */ color: rgb(171, 179, 66);
/* oklch */ color: oklch(73.9% 0.136 113.1);
Tailwind
colors: {
  custom: {
    50: '#c7c97c',
    500: '#abb342',
    950: '#000000',
  },
}
SCSS
$custom: #abb342;
$custom-light: #c7c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#abb342",
  "rgb": {
    "r": 171,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 64.248,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73854,
    "c": 0.13567,
    "h": 113.1
  },
  "luminance": 0.41291
}

Semantic roles & 50–950 ramp

primary
#ABB342
secondary
#908CC4
accent
#52D65B
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB342

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

Preview Lab → · Contrast checker → · Palette generator →

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