#BABF45#BABF45

#BABF45 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.8% C 0.143 H 111.5°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#BABF45
RGBrgb(186, 191, 69)
HSLhsl(62, 49%, 51%)
HSVhsv(62, 64%, 75%)
CMYKcmyk(2.6%, 0%, 63.9%, 25.1%)
CIE-LABlab(74.91, -17.29, 58.73)
CIE-LCHlch(74.91, 61.22, 106.40°)
OKLaboklab(77.77% -0.0525 0.1331)
OKLCHoklch(77.77% 0.143 111.5)
XYZxyz(39.9558, 48.1313, 12.8146)
Luminance0.4813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABF45 #4A45BF
analogous
#BF8745 #BABF45 #7DBF45
triadic
#BABF45 #45BABF #BF45BA
tetradic
#BABF45 #45BF87 #4A45BF #BF457D
square
#BABF45 #45BF87 #4A45BF #BF457D
split-complementary
#BABF45 #457DBF #8745BF
monochromatic
#646623 #909433 #BABF45 #CBCF73 #DCDEA0

Accessibility & contrast

On white

1.98
#BABF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#BABF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABF45
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABF45#FFFFFF#000000##000000
##BABF451.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB735
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#C6B4A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babf45;
/* rgb */ color: rgb(186, 191, 69);
/* oklch */ color: oklch(77.8% 0.143 111.5);
Tailwind
colors: {
  custom: {
    50: '#d2d27f',
    500: '#babf45',
    950: '#000000',
  },
}
SCSS
$custom: #babf45;
$custom-light: #d2d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#babf45",
  "rgb": {
    "r": 186,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 62.459,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77773,
    "c": 0.14306,
    "h": 111.5
  },
  "luminance": 0.4813
}

Semantic roles & 50–950 ramp

primary
#BABF45
secondary
#9795CB
accent
#4FD855
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #BABF45

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

Preview Lab → · Contrast checker → · Palette generator →

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