#ABB240#ABB240

#ABB240 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.6% C 0.136 H 112.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#ABB240
RGBrgb(171, 178, 64)
HSLhsl(64, 47%, 47%)
HSVhsv(64, 64%, 70%)
CMYKcmyk(3.9%, 0%, 64%, 30.2%)
CIE-LABlab(70.08, -17.37, 55.37)
CIE-LCHlch(70.08, 58.03, 107.42°)
OKLaboklab(73.61% -0.0524 0.1256)
OKLCHoklch(73.61% 0.136 112.6)
XYZxyz(33.6413, 40.8696, 10.9660)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB240 #4740B2
analogous
#B28040 #ABB240 #72B240
triadic
#ABB240 #40ABB2 #B240AB
tetradic
#ABB240 #40B280 #4740B2 #B24072
square
#ABB240 #40B280 #4740B2 #B24072
split-complementary
#ABB240 #4072B2 #8040B2
monochromatic
#555820 #808530 #ABB240 #C2C867 #D4D894

Accessibility & contrast

On white

2.29
#ABB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#ABB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB240
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB240#FFFFFF#000000##000000
##ABB2401.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA31
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#B6A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb240;
/* rgb */ color: rgb(171, 178, 64);
/* oklch */ color: oklch(73.6% 0.136 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c87a',
    500: '#abb240',
    950: '#000000',
  },
}
SCSS
$custom: #abb240;
$custom-light: #c7c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#abb240",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 63.684,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73612,
    "c": 0.13611,
    "h": 112.6
  },
  "luminance": 0.40869
}

Semantic roles & 50–950 ramp

primary
#ABB240
secondary
#8D8AC4
accent
#51D759
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB240

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

Preview Lab → · Contrast checker → · Palette generator →

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