#BABE30#BABE30

#BABE30 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.4% C 0.156 H 111.2°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#BABE30
RGBrgb(186, 190, 48)
HSLhsl(62, 60%, 47%)
HSVhsv(62, 75%, 75%)
CMYKcmyk(2.1%, 0%, 74.7%, 25.5%)
CIE-LABlab(74.50, -17.90, 66.11)
CIE-LCHlch(74.50, 68.49, 105.15°)
OKLaboklab(77.4% -0.0563 0.1451)
OKLCHoklch(77.4% 0.156 111.2)
XYZxyz(39.1980, 47.4805, 9.8955)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE30 #3430BE
analogous
#BE7B30 #BABE30 #73BE30
triadic
#BABE30 #30BABE #BE30BA
tetradic
#BABE30 #30BE7B #3430BE #BE3073
square
#BABE30 #30BE7B #3430BE #BE3073
split-complementary
#BABE30 #3073BE #7B30BE
monochromatic
#5A5C17 #8A8D24 #BABE30 #D1D457 #DEE188

Accessibility & contrast

On white

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

On black

10.50
#BABE30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE30
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE30#FFFFFF#000000##000000
##BABE301.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB50E
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C7B2A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babe30;
/* rgb */ color: rgb(186, 190, 48);
/* oklch */ color: oklch(77.4% 0.156 111.2);
Tailwind
colors: {
  custom: {
    50: '#d2d174',
    500: '#babe30',
    950: '#000000',
  },
}
SCSS
$custom: #babe30;
$custom-light: #d2d174;
$custom-dark: #000000;
JSON
{
  "hex": "#babe30",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 48
  },
  "hsl": {
    "h": 61.69,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.774,
    "c": 0.15566,
    "h": 111.2
  },
  "luminance": 0.47479
}

Semantic roles & 50–950 ramp

primary
#BABE30
secondary
#817FCB
accent
#45E349
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BABE30

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

Preview Lab → · Contrast checker → · Palette generator →

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