#BABE20#BABE20

#BABE20 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.163 H 111.2°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#BABE20
RGBrgb(186, 190, 32)
HSLhsl(62, 71%, 44%)
HSVhsv(62, 83%, 75%)
CMYKcmyk(2.1%, 0%, 83.2%, 25.5%)
CIE-LABlab(74.43, -18.46, 70.57)
CIE-LCHlch(74.43, 72.94, 104.66°)
OKLaboklab(77.32% -0.059 0.1519)
OKLCHoklch(77.32% 0.163 111.2)
XYZxyz(38.9253, 47.3714, 8.4593)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE20 #2420BE
analogous
#BE7320 #BABE20 #6BBE20
triadic
#BABE20 #20BABE #BE20BA
tetradic
#BABE20 #20BE73 #2420BE #BE206B
square
#BABE20 #20BE73 #2420BE #BE206B
split-complementary
#BABE20 #206BBE #7320BE
monochromatic
#53550E #878A17 #BABE20 #DADE3D #E4E771

Accessibility & contrast

On white

2.00
#BABE20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#BABE20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE20
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE20#FFFFFF#000000##000000
##BABE201.002.0010.4710.47
#FFFFFF2.001.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CEB931
Tritanopia (blue-blind)
#C8B2A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babe20;
/* rgb */ color: rgb(186, 190, 32);
/* oklch */ color: oklch(77.3% 0.163 111.2);
Tailwind
colors: {
  custom: {
    50: '#d3d16d',
    500: '#babe20',
    950: '#000000',
  },
}
SCSS
$custom: #babe20;
$custom-light: #d3d16d;
$custom-dark: #000000;
JSON
{
  "hex": "#babe20",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 32
  },
  "hsl": {
    "h": 61.519,
    "s": 71.171,
    "l": 43.529
  },
  "oklch": {
    "l": 0.77323,
    "c": 0.16293,
    "h": 111.2
  },
  "luminance": 0.4737
}

Semantic roles & 50–950 ramp

primary
#BABE20
secondary
#6E6CCE
accent
#3AEE3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BABE20

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

Preview Lab → · Contrast checker → · Palette generator →

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