#BABD25#BABD25

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

Color values

HEX#BABD25
RGBrgb(186, 189, 37)
HSLhsl(61, 67%, 44%)
HSVhsv(61, 80%, 74%)
CMYKcmyk(1.6%, 0%, 80.4%, 25.9%)
CIE-LABlab(74.17, -17.81, 69.08)
CIE-LCHlch(74.17, 71.34, 104.46°)
OKLaboklab(77.12% -0.0569 0.1495)
OKLCHoklch(77.12% 0.16 110.8)
XYZxyz(38.7827, 46.9690, 8.7729)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD25 #2825BD
analogous
#BD7425 #BABD25 #6EBD25
triadic
#BABD25 #25BABD #BD25BA
tetradic
#BABD25 #25BD74 #2825BD #BD256E
square
#BABD25 #25BD74 #2825BD #BD256E
split-complementary
#BABD25 #256EBD #7425BD
monochromatic
#555711 #888A1B #BABD25 #D8DB45 #E2E578

Accessibility & contrast

On white

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

On black

10.39
#BABD25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD25
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD25#FFFFFF#000000##000000
##BABD251.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babd25;
/* rgb */ color: rgb(186, 189, 37);
/* oklch */ color: oklch(77.1% 0.160 110.8);
Tailwind
colors: {
  custom: {
    50: '#d3d06f',
    500: '#babd25',
    950: '#000000',
  },
}
SCSS
$custom: #babd25;
$custom-light: #d3d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#babd25",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 37
  },
  "hsl": {
    "h": 61.184,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.77123,
    "c": 0.15997,
    "h": 110.8
  },
  "luminance": 0.46968
}

Semantic roles & 50–950 ramp

primary
#BABD25
secondary
#7372CC
accent
#3EEA41
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABD25

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

Preview Lab → · Contrast checker → · Palette generator →

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