#BABC45#BABC45

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

Color values

HEX#BABC45
RGBrgb(186, 188, 69)
HSLhsl(61, 47%, 50%)
HSVhsv(61, 63%, 74%)
CMYKcmyk(1.1%, 0%, 63.3%, 26.3%)
CIE-LABlab(74.08, -15.77, 57.86)
CIE-LCHlch(74.08, 59.97, 105.25°)
OKLaboklab(77.12% -0.0483 0.1312)
OKLCHoklch(77.12% 0.14 110.2)
XYZxyz(39.3083, 46.8362, 12.5987)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC45 #4745BC
analogous
#BC8245 #BABC45 #7FBC45
triadic
#BABC45 #45BABC #BC45BA
tetradic
#BABC45 #45BC82 #4745BC #BC457F
square
#BABC45 #45BC82 #4745BC #BC457F
split-complementary
#BABC45 #457FBC #8245BC
monochromatic
#626324 #8E9034 #BABC45 #CBCC72 #DBDC9F

Accessibility & contrast

On white

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

On black

10.37
#BABC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC45
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC45#FFFFFF#000000##000000
##BABC451.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#C6B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc45;
/* rgb */ color: rgb(186, 188, 69);
/* oklch */ color: oklch(77.1% 0.140 110.2);
Tailwind
colors: {
  custom: {
    50: '#d2d07e',
    500: '#babc45',
    950: '#000000',
  },
}
SCSS
$custom: #babc45;
$custom-light: #d2d07e;
$custom-dark: #000000;
JSON
{
  "hex": "#babc45",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 61.008,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77116,
    "c": 0.13984,
    "h": 110.2
  },
  "luminance": 0.46835
}

Semantic roles & 50–950 ramp

primary
#BABC45
secondary
#9594C9
accent
#51D753
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABC45

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

Preview Lab → · Contrast checker → · Palette generator →

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