#BABC52#BABC52

#BABC52 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.2% C 0.129 H 110.1°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#BABC52
RGBrgb(186, 188, 82)
HSLhsl(61, 44%, 53%)
HSVhsv(61, 56%, 74%)
CMYKcmyk(1.1%, 0%, 56.4%, 26.3%)
CIE-LABlab(74.20, -14.86, 52.31)
CIE-LCHlch(74.20, 54.38, 105.86°)
OKLaboklab(77.24% -0.0443 0.1212)
OKLCHoklch(77.24% 0.129 110.1)
XYZxyz(39.7570, 47.0157, 14.9616)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC52 #5452BC
analogous
#BC8952 #BABC52 #85BC52
triadic
#BABC52 #52BABC #BC52BA
tetradic
#BABC52 #52BC89 #5452BC #BC5285
square
#BABC52 #52BC89 #5452BC #BC5285
split-complementary
#BABC52 #5285BC #8952BC
monochromatic
#696A29 #95973A #BABC52 #CCCD7E #DDDEAA

Accessibility & contrast

On white

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

On black

10.40
#BABC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC52
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC52#FFFFFF#000000##000000
##BABC521.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B547
Deuteranopia (green-blind)
#CBB858
Tritanopia (blue-blind)
#C6B1A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc52;
/* rgb */ color: rgb(186, 188, 82);
/* oklch */ color: oklch(77.2% 0.129 110.1);
Tailwind
colors: {
  custom: {
    50: '#d1d086',
    500: '#babc52',
    950: '#000000',
  },
}
SCSS
$custom: #babc52;
$custom-light: #d1d086;
$custom-dark: #000000;
JSON
{
  "hex": "#babc52",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 61.132,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77244,
    "c": 0.12904,
    "h": 110.1
  },
  "luminance": 0.47015
}

Semantic roles & 50–950 ramp

primary
#BABC52
secondary
#9F9ECC
accent
#54D456
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABC52

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

Preview Lab → · Contrast checker → · Palette generator →

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