#BABE3B#BABE3B

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

Color values

HEX#BABE3B
RGBrgb(186, 190, 59)
HSLhsl(62, 53%, 49%)
HSVhsv(62, 69%, 75%)
CMYKcmyk(2.1%, 0%, 68.9%, 25.5%)
CIE-LABlab(74.56, -17.37, 62.31)
CIE-LCHlch(74.56, 64.69, 105.57°)
OKLaboklab(77.47% -0.0538 0.139)
OKLCHoklch(77.47% 0.149 111.1)
XYZxyz(39.4538, 47.5828, 11.2429)
Luminance0.4758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE3B #3F3BBE
analogous
#BE813B #BABE3B #79BE3B
triadic
#BABE3B #3BBABE #BE3BBA
tetradic
#BABE3B #3BBE81 #3F3BBE #BE3B79
square
#BABE3B #3BBE81 #3F3BBE #BE3B79
split-complementary
#BABE3B #3B79BE #813BBE
monochromatic
#5F611E #8C8F2C #BABE3B #CCD067 #DCDE95

Accessibility & contrast

On white

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

On black

10.52
#BABE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE3B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE3B#FFFFFF#000000##000000
##BABE3B1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babe3b;
/* rgb */ color: rgb(186, 190, 59);
/* oklch */ color: oklch(77.5% 0.149 111.1);
Tailwind
colors: {
  custom: {
    50: '#d2d179',
    500: '#babe3b',
    950: '#000000',
  },
}
SCSS
$custom: #babe3b;
$custom-light: #d2d179;
$custom-dark: #000000;
JSON
{
  "hex": "#babe3b",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 59
  },
  "hsl": {
    "h": 61.832,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77473,
    "c": 0.14907,
    "h": 111.1
  },
  "luminance": 0.47582
}

Semantic roles & 50–950 ramp

primary
#BABE3B
secondary
#8D8BCA
accent
#4CDC50
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BABE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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