#ABB340#ABB340

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

Color values

HEX#ABB340
RGBrgb(171, 179, 64)
HSLhsl(64, 47%, 48%)
HSVhsv(64, 64%, 70%)
CMYKcmyk(4.5%, 0%, 64.2%, 29.8%)
CIE-LABlab(70.36, -17.88, 55.66)
CIE-LCHlch(70.36, 58.46, 107.80°)
OKLaboklab(73.84% -0.0538 0.1262)
OKLCHoklch(73.84% 0.137 113.1)
XYZxyz(33.8410, 41.2690, 11.0325)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB340 #4840B3
analogous
#B38140 #ABB340 #71B340
triadic
#ABB340 #40ABB3 #B340AB
tetradic
#ABB340 #40B381 #4840B3 #B34071
square
#ABB340 #40B381 #4840B3 #B34071
split-complementary
#ABB340 #4071B3 #8140B3
monochromatic
#555920 #808630 #ABB340 #C2C967 #D4D994

Accessibility & contrast

On white

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

On black

9.25
#ABB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB340
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB340#FFFFFF#000000##000000
##ABB3401.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C0AD48
Tritanopia (blue-blind)
#B6A99B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb340;
/* rgb */ color: rgb(171, 179, 64);
/* oklch */ color: oklch(73.8% 0.137 113.1);
Tailwind
colors: {
  custom: {
    50: '#c7c97b',
    500: '#abb340',
    950: '#000000',
  },
}
SCSS
$custom: #abb340;
$custom-light: #c7c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#abb340",
  "rgb": {
    "r": 171,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 64.174,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73836,
    "c": 0.13723,
    "h": 113.1
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

primary
#ABB340
secondary
#8E8AC4
accent
#51D75A
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB340

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

Preview Lab → · Contrast checker → · Palette generator →

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