#BABE38#BABE38

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

Color values

HEX#BABE38
RGBrgb(186, 190, 56)
HSLhsl(62, 54%, 48%)
HSVhsv(62, 71%, 75%)
CMYKcmyk(2.1%, 0%, 70.5%, 25.5%)
CIE-LABlab(74.54, -17.52, 63.40)
CIE-LCHlch(74.54, 65.78, 105.45°)
OKLaboklab(77.45% -0.0545 0.1408)
OKLCHoklch(77.45% 0.151 111.2)
XYZxyz(39.3783, 47.5526, 10.8448)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE38 #3C38BE
analogous
#BE7F38 #BABE38 #77BE38
triadic
#BABE38 #38BABE #BE38BA
tetradic
#BABE38 #38BE7F #3C38BE #BE3877
square
#BABE38 #38BE7F #3C38BE #BE3877
split-complementary
#BABE38 #3877BE #7F38BE
monochromatic
#5D5F1C #8C8F2A #BABE38 #CED162 #DCDF92

Accessibility & contrast

On white

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

On black

10.51
#BABE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE38
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE38#FFFFFF#000000##000000
##BABE381.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babe38;
/* rgb */ color: rgb(186, 190, 56);
/* oklch */ color: oklch(77.5% 0.151 111.2);
Tailwind
colors: {
  custom: {
    50: '#d2d177',
    500: '#babe38',
    950: '#000000',
  },
}
SCSS
$custom: #babe38;
$custom-light: #d2d177;
$custom-dark: #000000;
JSON
{
  "hex": "#babe38",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 61.791,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77451,
    "c": 0.15099,
    "h": 111.2
  },
  "luminance": 0.47552
}

Semantic roles & 50–950 ramp

primary
#BABE38
secondary
#8A88CA
accent
#4ADE4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BABE38

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

Preview Lab → · Contrast checker → · Palette generator →

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