#BABB2D#BABB2D

#BABB2D is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.154 H 110.0°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#BABB2D
RGBrgb(186, 187, 45)
HSLhsl(60, 61%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0.5%, 0%, 75.9%, 26.7%)
CIE-LABlab(73.66, -16.51, 66.29)
CIE-LCHlch(73.66, 68.32, 103.99°)
OKLaboklab(76.72% -0.0527 0.145)
OKLCHoklch(76.72% 0.154 110)
XYZxyz(38.4951, 46.1704, 9.3661)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB2D #2E2DBB
analogous
#BB752D #BABB2D #73BB2D
triadic
#BABB2D #2DBABB #BB2DBA
tetradic
#BABB2D #2DBB75 #2E2DBB #BB2D73
square
#BABB2D #2DBB75 #2E2DBB #BB2D73
split-complementary
#BABB2D #2D73BB #752DBB
monochromatic
#585815 #898A21 #BABB2D #D4D550 #E0E182

Accessibility & contrast

On white

2.05
#BABB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#BABB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB2D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB2D#FFFFFF#000000##000000
##BABB2D1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB306
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#C7AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb2d;
/* rgb */ color: rgb(186, 187, 45);
/* oklch */ color: oklch(76.7% 0.154 110.0);
Tailwind
colors: {
  custom: {
    50: '#d3cf72',
    500: '#babb2d',
    950: '#000000',
  },
}
SCSS
$custom: #babb2d;
$custom-light: #d3cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#babb2d",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 60.423,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76723,
    "c": 0.15426,
    "h": 110
  },
  "luminance": 0.46169
}

Semantic roles & 50–950 ramp

primary
#BABB2D
secondary
#7B7ACA
accent
#43E445
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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