#BABD2C#BABD2C

#BABD2C is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.2% C 0.157 H 110.8°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#BABD2C
RGBrgb(186, 189, 44)
HSLhsl(61, 62%, 46%)
HSVhsv(61, 77%, 74%)
CMYKcmyk(1.6%, 0%, 76.7%, 25.9%)
CIE-LABlab(74.20, -17.56, 67.10)
CIE-LCHlch(74.20, 69.36, 104.66°)
OKLaboklab(77.16% -0.0556 0.1465)
OKLCHoklch(77.16% 0.157 110.8)
XYZxyz(38.9033, 47.0172, 9.4083)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD2C #2F2CBD
analogous
#BD772C #BABD2C #72BD2C
triadic
#BABD2C #2CBABD #BD2CBA
tetradic
#BABD2C #2CBD77 #2F2CBD #BD2C72
square
#BABD2C #2CBD77 #2F2CBD #BD2C72
split-complementary
#BABD2C #2C72BD #772CBD
monochromatic
#585A15 #898B20 #BABD2C #D3D650 #E0E282

Accessibility & contrast

On white

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

On black

10.40
#BABD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD2C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD2C#FFFFFF#000000##000000
##BABD2C1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babd2c;
/* rgb */ color: rgb(186, 189, 44);
/* oklch */ color: oklch(77.2% 0.157 110.8);
Tailwind
colors: {
  custom: {
    50: '#d3d072',
    500: '#babd2c',
    950: '#000000',
  },
}
SCSS
$custom: #babd2c;
$custom-light: #d3d072;
$custom-dark: #000000;
JSON
{
  "hex": "#babd2c",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 44
  },
  "hsl": {
    "h": 61.241,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.77157,
    "c": 0.15674,
    "h": 110.8
  },
  "luminance": 0.47016
}

Semantic roles & 50–950 ramp

primary
#BABD2C
secondary
#7C7ACB
accent
#42E546
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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