#BABD52#BABD52

#BABD52 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.5% C 0.130 H 110.6°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#BABD52
RGBrgb(186, 189, 82)
HSLhsl(62, 45%, 53%)
HSVhsv(62, 57%, 74%)
CMYKcmyk(1.6%, 0%, 56.6%, 25.9%)
CIE-LABlab(74.47, -15.37, 52.62)
CIE-LCHlch(74.47, 54.82, 106.28°)
OKLaboklab(77.46% -0.0457 0.1219)
OKLCHoklch(77.46% 0.13 110.6)
XYZxyz(39.9713, 47.4444, 15.0331)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD52 #5552BD
analogous
#BD8A52 #BABD52 #84BD52
triadic
#BABD52 #52BABD #BD52BA
tetradic
#BABD52 #52BD8A #5552BD #BD5284
square
#BABD52 #52BD8A #5552BD #BD5284
split-complementary
#BABD52 #5284BD #8A52BD
monochromatic
#6A6C29 #95983A #BABD52 #CCCE7E #DDDFAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABD52#FFFFFF#000000##000000
##BABD521.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)
#CAB547
Deuteranopia (green-blind)
#CBB958
Tritanopia (blue-blind)
#C6B2A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babd52;
/* rgb */ color: rgb(186, 189, 82);
/* oklch */ color: oklch(77.5% 0.130 110.6);
Tailwind
colors: {
  custom: {
    50: '#d1d086',
    500: '#babd52',
    950: '#000000',
  },
}
SCSS
$custom: #babd52;
$custom-light: #d1d086;
$custom-dark: #000000;
JSON
{
  "hex": "#babd52",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 61.682,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77462,
    "c": 0.13015,
    "h": 110.6
  },
  "luminance": 0.47443
}

Semantic roles & 50–950 ramp

primary
#BABD52
secondary
#A09ECC
accent
#53D457
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #BABD52

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

Preview Lab → · Contrast checker → · Palette generator →

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