#BABD22#BABD22

#BABD22 is a light, vivid yellow. Relative luminance 0.469; 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#BABD22
RGBrgb(186, 189, 34)
HSLhsl(61, 70%, 44%)
HSVhsv(61, 82%, 74%)
CMYKcmyk(1.6%, 0%, 82%, 25.9%)
CIE-LABlab(74.16, -17.90, 69.85)
CIE-LCHlch(74.16, 72.11, 104.38°)
OKLaboklab(77.11% -0.0573 0.1507)
OKLCHoklch(77.11% 0.161 110.8)
XYZxyz(38.7375, 46.9509, 8.5349)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD22 #2522BD
analogous
#BD7222 #BABD22 #6CBD22
triadic
#BABD22 #22BABD #BD22BA
tetradic
#BABD22 #22BD72 #2522BD #BD226C
square
#BABD22 #22BD72 #2522BD #BD226C
split-complementary
#BABD22 #226CBD #7222BD
monochromatic
#54550F #878919 #BABD22 #DADD40 #E4E673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABD22#FFFFFF#000000##000000
##BABD221.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: #babd22;
/* rgb */ color: rgb(186, 189, 34);
/* oklch */ color: oklch(77.1% 0.161 110.8);
Tailwind
colors: {
  custom: {
    50: '#d3d06e',
    500: '#babd22',
    950: '#000000',
  },
}
SCSS
$custom: #babd22;
$custom-light: #d3d06e;
$custom-dark: #000000;
JSON
{
  "hex": "#babd22",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 34
  },
  "hsl": {
    "h": 61.161,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7711,
    "c": 0.1612,
    "h": 110.8
  },
  "luminance": 0.4695
}

Semantic roles & 50–950 ramp

primary
#BABD22
secondary
#706ECD
accent
#3BEC3F
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABD22

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

Preview Lab → · Contrast checker → · Palette generator →

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