#BABC48#BABC48

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

Color values

HEX#BABC48
RGBrgb(186, 188, 72)
HSLhsl(61, 46%, 51%)
HSVhsv(61, 62%, 74%)
CMYKcmyk(1.1%, 0%, 61.7%, 26.3%)
CIE-LABlab(74.11, -15.58, 56.62)
CIE-LCHlch(74.11, 58.73, 105.38°)
OKLaboklab(77.14% -0.0474 0.1291)
OKLCHoklch(77.14% 0.137 110.2)
XYZxyz(39.4038, 46.8744, 13.1016)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC48 #4A48BC
analogous
#BC8448 #BABC48 #80BC48
triadic
#BABC48 #48BABC #BC48BA
tetradic
#BABC48 #48BC84 #4A48BC #BC4880
square
#BABC48 #48BC84 #4A48BC #BC4880
split-complementary
#BABC48 #4880BC #8448BC
monochromatic
#646525 #909235 #BABC48 #CBCC75 #DCDDA2

Accessibility & contrast

On white

2.02
#BABC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABC48#FFFFFF#000000##000000
##BABC481.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#CBB84F
Tritanopia (blue-blind)
#C6B1A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc48;
/* rgb */ color: rgb(186, 188, 72);
/* oklch */ color: oklch(77.1% 0.137 110.2);
Tailwind
colors: {
  custom: {
    50: '#d1d080',
    500: '#babc48',
    950: '#000000',
  },
}
SCSS
$custom: #babc48;
$custom-light: #d1d080;
$custom-dark: #000000;
JSON
{
  "hex": "#babc48",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 61.034,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77143,
    "c": 0.13749,
    "h": 110.2
  },
  "luminance": 0.46873
}

Semantic roles & 50–950 ramp

primary
#BABC48
secondary
#9796CA
accent
#52D654
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABC48

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

Preview Lab → · Contrast checker → · Palette generator →

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