#BABD30#BABD30

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

Color values

HEX#BABD30
RGBrgb(186, 189, 48)
HSLhsl(61, 59%, 46%)
HSVhsv(61, 75%, 74%)
CMYKcmyk(1.6%, 0%, 74.6%, 25.9%)
CIE-LABlab(74.22, -17.39, 65.85)
CIE-LCHlch(74.22, 68.11, 104.80°)
OKLaboklab(77.18% -0.0549 0.1446)
OKLCHoklch(77.18% 0.155 110.8)
XYZxyz(38.9822, 47.0488, 9.8236)
Luminance0.4705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD30 #3330BD
analogous
#BD7A30 #BABD30 #74BD30
triadic
#BABD30 #30BABD #BD30BA
tetradic
#BABD30 #30BD7A #3330BD #BD3074
square
#BABD30 #30BD7A #3330BD #BD3074
split-complementary
#BABD30 #3074BD #7A30BD
monochromatic
#5A5B17 #8A8C24 #BABD30 #D1D456 #DFE087

Accessibility & contrast

On white

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

On black

10.41
#BABD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD30
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD30#FFFFFF#000000##000000
##BABD301.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB50F
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#C7B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd30;
/* rgb */ color: rgb(186, 189, 48);
/* oklch */ color: oklch(77.2% 0.155 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2d073',
    500: '#babd30',
    950: '#000000',
  },
}
SCSS
$custom: #babd30;
$custom-light: #d2d073;
$custom-dark: #000000;
JSON
{
  "hex": "#babd30",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 48
  },
  "hsl": {
    "h": 61.277,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7718,
    "c": 0.15466,
    "h": 110.8
  },
  "luminance": 0.47048
}

Semantic roles & 50–950 ramp

primary
#BABD30
secondary
#807FCA
accent
#45E348
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABD30

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

Preview Lab → · Contrast checker → · Palette generator →

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