#BABC42#BABC42

#BABC42 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.1% C 0.142 H 110.2°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#BABC42
RGBrgb(186, 188, 66)
HSLhsl(61, 48%, 50%)
HSVhsv(61, 65%, 74%)
CMYKcmyk(1.1%, 0%, 64.9%, 26.3%)
CIE-LABlab(74.06, -15.96, 59.07)
CIE-LCHlch(74.06, 61.19, 105.12°)
OKLaboklab(77.09% -0.0491 0.1333)
OKLCHoklch(77.09% 0.142 110.2)
XYZxyz(39.2175, 46.7999, 12.1206)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC42 #4442BC
analogous
#BC8142 #BABC42 #7DBC42
triadic
#BABC42 #42BABC #BC42BA
tetradic
#BABC42 #42BC81 #4442BC #BC427D
square
#BABC42 #42BC81 #4442BC #BC427D
split-complementary
#BABC42 #427DBC #8142BC
monochromatic
#606122 #8D8F32 #BABC42 #CBCC6F #DBDC9C

Accessibility & contrast

On white

2.03
#BABC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#BABC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC42
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC42#FFFFFF#000000##000000
##BABC421.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB431
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#C7B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc42;
/* rgb */ color: rgb(186, 188, 66);
/* oklch */ color: oklch(77.1% 0.142 110.2);
Tailwind
colors: {
  custom: {
    50: '#d2d07d',
    500: '#babc42',
    950: '#000000',
  },
}
SCSS
$custom: #babc42;
$custom-light: #d2d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#babc42",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 60.984,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77089,
    "c": 0.1421,
    "h": 110.2
  },
  "luminance": 0.46799
}

Semantic roles & 50–950 ramp

primary
#BABC42
secondary
#9291C9
accent
#50D852
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABC42

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

Preview Lab → · Contrast checker → · Palette generator →

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