#BABC46#BABC46

#BABC46 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.1% C 0.139 H 110.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#BABC46
RGBrgb(186, 188, 70)
HSLhsl(61, 47%, 51%)
HSVhsv(61, 63%, 74%)
CMYKcmyk(1.1%, 0%, 62.8%, 26.3%)
CIE-LABlab(74.09, -15.71, 57.45)
CIE-LCHlch(74.09, 59.56, 105.29°)
OKLaboklab(77.12% -0.048 0.1305)
OKLCHoklch(77.12% 0.139 110.2)
XYZxyz(39.3396, 46.8488, 12.7636)
Luminance0.4685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC46 #4846BC
analogous
#BC8346 #BABC46 #7FBC46
triadic
#BABC46 #46BABC #BC46BA
tetradic
#BABC46 #46BC83 #4846BC #BC467F
square
#BABC46 #46BC83 #4846BC #BC467F
split-complementary
#BABC46 #467FBC #8346BC
monochromatic
#626424 #8F9034 #BABC46 #CBCC73 #DCDDA0

Accessibility & contrast

On white

2.03
#BABC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#BABC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC46
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC46#FFFFFF#000000##000000
##BABC461.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB437
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#C6B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc46;
/* rgb */ color: rgb(186, 188, 70);
/* oklch */ color: oklch(77.1% 0.139 110.2);
Tailwind
colors: {
  custom: {
    50: '#d2d07f',
    500: '#babc46',
    950: '#000000',
  },
}
SCSS
$custom: #babc46;
$custom-light: #d2d07f;
$custom-dark: #000000;
JSON
{
  "hex": "#babc46",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 70
  },
  "hsl": {
    "h": 61.017,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77124,
    "c": 0.13906,
    "h": 110.2
  },
  "luminance": 0.46848
}

Semantic roles & 50–950 ramp

primary
#BABC46
secondary
#9695C9
accent
#51D654
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABC46

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

Preview Lab → · Contrast checker → · Palette generator →

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