#BABE2E#BABE2E

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

Color values

HEX#BABE2E
RGBrgb(186, 190, 46)
HSLhsl(62, 61%, 46%)
HSVhsv(62, 76%, 75%)
CMYKcmyk(2.1%, 0%, 75.8%, 25.5%)
CIE-LABlab(74.49, -17.98, 66.74)
CIE-LCHlch(74.49, 69.12, 105.08°)
OKLaboklab(77.39% -0.0567 0.1461)
OKLCHoklch(77.39% 0.157 111.2)
XYZxyz(39.1577, 47.4643, 9.6831)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE2E #322EBE
analogous
#BE7A2E #BABE2E #72BE2E
triadic
#BABE2E #2EBABE #BE2EBA
tetradic
#BABE2E #2EBE7A #322EBE #BE2E72
square
#BABE2E #2EBE7A #322EBE #BE2E72
split-complementary
#BABE2E #2E72BE #7A2EBE
monochromatic
#5A5B16 #8A8D22 #BABE2E #D2D654 #DFE185

Accessibility & contrast

On white

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

On black

10.49
#BABE2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE2E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE2E#FFFFFF#000000##000000
##BABE2E1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babe2e;
/* rgb */ color: rgb(186, 190, 46);
/* oklch */ color: oklch(77.4% 0.157 111.2);
Tailwind
colors: {
  custom: {
    50: '#d3d173',
    500: '#babe2e',
    950: '#000000',
  },
}
SCSS
$custom: #babe2e;
$custom-light: #d3d173;
$custom-dark: #000000;
JSON
{
  "hex": "#babe2e",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 46
  },
  "hsl": {
    "h": 61.667,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77389,
    "c": 0.15672,
    "h": 111.2
  },
  "luminance": 0.47463
}

Semantic roles & 50–950 ramp

primary
#BABE2E
secondary
#7F7DCB
accent
#44E448
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BABE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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