#BABD38#BABD38

#BABD38 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.2% C 0.150 H 110.7°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#BABD38
RGBrgb(186, 189, 56)
HSLhsl(61, 54%, 48%)
HSVhsv(61, 70%, 74%)
CMYKcmyk(1.6%, 0%, 70.4%, 25.9%)
CIE-LABlab(74.27, -17.02, 63.13)
CIE-LCHlch(74.27, 65.38, 105.09°)
OKLaboklab(77.23% -0.0531 0.1403)
OKLCHoklch(77.23% 0.15 110.7)
XYZxyz(39.1624, 47.1209, 10.7729)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD38 #3B38BD
analogous
#BD7D38 #BABD38 #78BD38
triadic
#BABD38 #38BABD #BD38BA
tetradic
#BABD38 #38BD7D #3B38BD #BD3878
square
#BABD38 #38BD7D #3B38BD #BD3878
split-complementary
#BABD38 #3878BD #7D38BD
monochromatic
#5D5F1C #8C8E2A #BABD38 #CED062 #DDDE91

Accessibility & contrast

On white

2.01
#BABD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#BABD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD38
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD38#FFFFFF#000000##000000
##BABD381.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#C7B1A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babd38;
/* rgb */ color: rgb(186, 189, 56);
/* oklch */ color: oklch(77.2% 0.150 110.7);
Tailwind
colors: {
  custom: {
    50: '#d2d077',
    500: '#babd38',
    950: '#000000',
  },
}
SCSS
$custom: #babd38;
$custom-light: #d2d077;
$custom-dark: #000000;
JSON
{
  "hex": "#babd38",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 61.353,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77232,
    "c": 0.14996,
    "h": 110.7
  },
  "luminance": 0.4712
}

Semantic roles & 50–950 ramp

primary
#BABD38
secondary
#8987C9
accent
#4ADE4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #BABD38

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

Preview Lab → · Contrast checker → · Palette generator →

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