#BABD2D#BABD2D

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

Color values

HEX#BABD2D
RGBrgb(186, 189, 45)
HSLhsl(61, 62%, 46%)
HSVhsv(61, 76%, 74%)
CMYKcmyk(1.6%, 0%, 76.2%, 25.9%)
CIE-LABlab(74.21, -17.52, 66.79)
CIE-LCHlch(74.21, 69.05, 104.70°)
OKLaboklab(77.16% -0.0555 0.1461)
OKLCHoklch(77.16% 0.156 110.8)
XYZxyz(38.9223, 47.0248, 9.5085)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD2D #302DBD
analogous
#BD782D #BABD2D #72BD2D
triadic
#BABD2D #2DBABD #BD2DBA
tetradic
#BABD2D #2DBD78 #302DBD #BD2D72
square
#BABD2D #2DBD78 #302DBD #BD2D72
split-complementary
#BABD2D #2D72BD #782DBD
monochromatic
#595A15 #898C21 #BABD2D #D3D652 #DFE183

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABD2D#FFFFFF#000000##000000
##BABD2D1.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)
#CCB404
Deuteranopia (green-blind)
#CDB839
Tritanopia (blue-blind)
#C7B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd2d;
/* rgb */ color: rgb(186, 189, 45);
/* oklch */ color: oklch(77.2% 0.156 110.8);
Tailwind
colors: {
  custom: {
    50: '#d3d072',
    500: '#babd2d',
    950: '#000000',
  },
}
SCSS
$custom: #babd2d;
$custom-light: #d3d072;
$custom-dark: #000000;
JSON
{
  "hex": "#babd2d",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 45
  },
  "hsl": {
    "h": 61.25,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77163,
    "c": 0.15623,
    "h": 110.8
  },
  "luminance": 0.47024
}

Semantic roles & 50–950 ramp

primary
#BABD2D
secondary
#7D7BCB
accent
#43E547
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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