#BABE40#BABE40

#BABE40 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.5% C 0.146 H 111.1°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#BABE40
RGBrgb(186, 190, 64)
HSLhsl(62, 50%, 50%)
HSVhsv(62, 66%, 75%)
CMYKcmyk(2.1%, 0%, 66.3%, 25.5%)
CIE-LABlab(74.60, -17.09, 60.42)
CIE-LCHlch(74.60, 62.79, 105.79°)
OKLaboklab(77.51% -0.0525 0.1359)
OKLCHoklch(77.51% 0.146 111.1)
XYZxyz(39.5898, 47.6372, 11.9589)
Luminance0.4764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE40 #4440BE
analogous
#BE8340 #BABE40 #7BBE40
triadic
#BABE40 #40BABE #BE40BA
tetradic
#BABE40 #40BE83 #4440BE #BE407B
square
#BABE40 #40BE83 #4440BE #BE407B
split-complementary
#BABE40 #407BBE #8340BE
monochromatic
#606221 #8D9031 #BABE40 #CBCE6D #DBDD9B

Accessibility & contrast

On white

1.99
#BABE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#BABE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE40
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE40#FFFFFF#000000##000000
##BABE401.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB62E
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#C6B3A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babe40;
/* rgb */ color: rgb(186, 190, 64);
/* oklch */ color: oklch(77.5% 0.146 111.1);
Tailwind
colors: {
  custom: {
    50: '#d2d17c',
    500: '#babe40',
    950: '#000000',
  },
}
SCSS
$custom: #babe40;
$custom-light: #d2d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#babe40",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 61.905,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77511,
    "c": 0.14565,
    "h": 111.1
  },
  "luminance": 0.47636
}

Semantic roles & 50–950 ramp

primary
#BABE40
secondary
#9290C9
accent
#4FD953
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BABE40

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

Preview Lab → · Contrast checker → · Palette generator →

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