#BABD23#BABD23

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

Color values

HEX#BABD23
RGBrgb(186, 189, 35)
HSLhsl(61, 69%, 44%)
HSVhsv(61, 81%, 74%)
CMYKcmyk(1.6%, 0%, 81.5%, 25.9%)
CIE-LABlab(74.16, -17.87, 69.60)
CIE-LCHlch(74.16, 71.86, 104.40°)
OKLaboklab(77.11% -0.0572 0.1503)
OKLCHoklch(77.11% 0.161 110.8)
XYZxyz(38.7521, 46.9567, 8.6120)
Luminance0.4696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD23 #2623BD
analogous
#BD7323 #BABD23 #6DBD23
triadic
#BABD23 #23BABD #BD23BA
tetradic
#BABD23 #23BD73 #2623BD #BD236D
square
#BABD23 #23BD73 #2623BD #BD236D
split-complementary
#BABD23 #236DBD #7323BD
monochromatic
#545610 #878919 #BABD23 #D9DC41 #E3E575

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABD23#FFFFFF#000000##000000
##BABD231.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)
#CEB832
Tritanopia (blue-blind)
#C8B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd23;
/* rgb */ color: rgb(186, 189, 35);
/* oklch */ color: oklch(77.1% 0.161 110.8);
Tailwind
colors: {
  custom: {
    50: '#d3d06e',
    500: '#babd23',
    950: '#000000',
  },
}
SCSS
$custom: #babd23;
$custom-light: #d3d06e;
$custom-dark: #000000;
JSON
{
  "hex": "#babd23",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 35
  },
  "hsl": {
    "h": 61.169,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.77114,
    "c": 0.16081,
    "h": 110.8
  },
  "luminance": 0.46956
}

Semantic roles & 50–950 ramp

primary
#BABD23
secondary
#716FCD
accent
#3CEC40
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABD23

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

Preview Lab → · Contrast checker → · Palette generator →

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