#BABC2D#BABC2D

#BABC2D is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.9% C 0.155 H 110.4°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#BABC2D
RGBrgb(186, 188, 45)
HSLhsl(61, 61%, 46%)
HSVhsv(61, 76%, 74%)
CMYKcmyk(1.1%, 0%, 76.1%, 26.3%)
CIE-LABlab(73.93, -17.02, 66.54)
CIE-LCHlch(73.93, 68.68, 104.34°)
OKLaboklab(76.94% -0.0541 0.1455)
OKLCHoklch(76.94% 0.155 110.4)
XYZxyz(38.7080, 46.5961, 9.4371)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC2D #2F2DBC
analogous
#BC762D #BABC2D #72BC2D
triadic
#BABC2D #2DBABC #BC2DBA
tetradic
#BABC2D #2DBC76 #2F2DBC #BC2D72
square
#BABC2D #2DBC76 #2F2DBC #BC2D72
split-complementary
#BABC2D #2D72BC #762DBC
monochromatic
#585915 #898B21 #BABC2D #D3D551 #E0E182

Accessibility & contrast

On white

2.04
#BABC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#BABC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC2D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC2D#FFFFFF#000000##000000
##BABC2D1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB405
Deuteranopia (green-blind)
#CDB839
Tritanopia (blue-blind)
#C7B0A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc2d;
/* rgb */ color: rgb(186, 188, 45);
/* oklch */ color: oklch(76.9% 0.155 110.4);
Tailwind
colors: {
  custom: {
    50: '#d3cf72',
    500: '#babc2d',
    950: '#000000',
  },
}
SCSS
$custom: #babc2d;
$custom-light: #d3cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#babc2d",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 60.839,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76943,
    "c": 0.15525,
    "h": 110.4
  },
  "luminance": 0.46595
}

Semantic roles & 50–950 ramp

primary
#BABC2D
secondary
#7C7BCA
accent
#43E446
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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