#BABD20#BABD20

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

Color values

HEX#BABD20
RGBrgb(186, 189, 32)
HSLhsl(61, 71%, 43%)
HSVhsv(61, 83%, 74%)
CMYKcmyk(1.6%, 0%, 83.1%, 25.9%)
CIE-LABlab(74.15, -17.96, 70.34)
CIE-LCHlch(74.15, 72.59, 104.33°)
OKLaboklab(77.1% -0.0576 0.1514)
OKLCHoklch(77.1% 0.162 110.9)
XYZxyz(38.7095, 46.9397, 8.3874)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD20 #2320BD
analogous
#BD7120 #BABD20 #6CBD20
triadic
#BABD20 #20BABD #BD20BA
tetradic
#BABD20 #20BD71 #2320BD #BD206C
square
#BABD20 #20BD71 #2320BD #BD206C
split-complementary
#BABD20 #206CBD #7120BD
monochromatic
#53540E #868917 #BABD20 #DBDE3C #E5E771

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABD20#FFFFFF#000000##000000
##BABD201.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)
#CDB400
Deuteranopia (green-blind)
#CEB830
Tritanopia (blue-blind)
#C8B1A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd20;
/* rgb */ color: rgb(186, 189, 32);
/* oklch */ color: oklch(77.1% 0.162 110.9);
Tailwind
colors: {
  custom: {
    50: '#d3d06d',
    500: '#babd20',
    950: '#000000',
  },
}
SCSS
$custom: #babd20;
$custom-light: #d3d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#babd20",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 32
  },
  "hsl": {
    "h": 61.146,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.77102,
    "c": 0.16197,
    "h": 110.9
  },
  "luminance": 0.46939
}

Semantic roles & 50–950 ramp

primary
#BABD20
secondary
#6D6BCD
accent
#3AEE3D
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABD20

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

Preview Lab → · Contrast checker → · Palette generator →

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