#BABD40#BABD40

#BABD40 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.3% C 0.145 H 110.7°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#BABD40
RGBrgb(186, 189, 64)
HSLhsl(61, 49%, 50%)
HSVhsv(61, 66%, 74%)
CMYKcmyk(1.6%, 0%, 66.1%, 25.9%)
CIE-LABlab(74.32, -16.59, 60.14)
CIE-LCHlch(74.32, 62.38, 105.42°)
OKLaboklab(77.29% -0.0511 0.1353)
OKLCHoklch(77.29% 0.145 110.7)
XYZxyz(39.3739, 47.2055, 11.8870)
Luminance0.4720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD40 #4340BD
analogous
#BD8240 #BABD40 #7CBD40
triadic
#BABD40 #40BABD #BD40BA
tetradic
#BABD40 #40BD82 #4340BD #BD407C
square
#BABD40 #40BD82 #4340BD #BD407C
split-complementary
#BABD40 #407CBD #8240BD
monochromatic
#606221 #8D8F31 #BABD40 #CBCD6D #DBDD9A

Accessibility & contrast

On white

2.01
#BABD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#BABD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD40
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD40#FFFFFF#000000##000000
##BABD401.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#C7B2A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babd40;
/* rgb */ color: rgb(186, 189, 64);
/* oklch */ color: oklch(77.3% 0.145 110.7);
Tailwind
colors: {
  custom: {
    50: '#d2d07c',
    500: '#babd40',
    950: '#000000',
  },
}
SCSS
$custom: #babd40;
$custom-light: #d2d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#babd40",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 61.44,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77292,
    "c": 0.1446,
    "h": 110.7
  },
  "luminance": 0.47204
}

Semantic roles & 50–950 ramp

primary
#BABD40
secondary
#9190C9
accent
#4FD952
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BABD40

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

Preview Lab → · Contrast checker → · Palette generator →

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