#ABB840#ABB840

#ABB840 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.0% C 0.143 H 115.2°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#ABB840
RGBrgb(171, 184, 64)
HSLhsl(67, 48%, 49%)
HSVhsv(67, 65%, 72%)
CMYKcmyk(7.1%, 0%, 65.2%, 27.8%)
CIE-LABlab(71.76, -20.39, 57.13)
CIE-LCHlch(71.76, 60.66, 109.64°)
OKLaboklab(74.96% -0.0608 0.1293)
OKLCHoklch(74.96% 0.143 115.2)
XYZxyz(34.8613, 43.3096, 11.3726)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB840 #4D40B8
analogous
#B88940 #ABB840 #6FB840
triadic
#ABB840 #40ABB8 #B840AB
tetradic
#ABB840 #40B889 #4D40B8 #B8406F
square
#ABB840 #40B889 #4D40B8 #B8406F
split-complementary
#ABB840 #406FB8 #8940B8
monochromatic
#575D20 #818B30 #ABB840 #C1CB6A #D4DB97

Accessibility & contrast

On white

2.17
#ABB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#ABB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB840
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB840#FFFFFF#000000##000000
##ABB8401.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#B6AE9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #abb840;
/* rgb */ color: rgb(171, 184, 64);
/* oklch */ color: oklch(75.0% 0.143 115.2);
Tailwind
colors: {
  custom: {
    50: '#c7cd7b',
    500: '#abb840',
    950: '#000000',
  },
}
SCSS
$custom: #abb840;
$custom-light: #c7cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#abb840",
  "rgb": {
    "r": 171,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 66.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74958,
    "c": 0.14293,
    "h": 115.2
  },
  "luminance": 0.43309
}

Semantic roles & 50–950 ramp

primary
#ABB840
secondary
#938DC7
accent
#50D85F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB840

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

Preview Lab → · Contrast checker → · Palette generator →

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