#BABB3C#BABB3C

#BABB3C is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.8% C 0.145 H 109.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#BABB3C
RGBrgb(186, 187, 60)
HSLhsl(60, 51%, 48%)
HSVhsv(60, 68%, 73%)
CMYKcmyk(0.5%, 0%, 67.9%, 26.7%)
CIE-LABlab(73.74, -15.80, 61.12)
CIE-LCHlch(73.74, 63.13, 104.50°)
OKLaboklab(76.82% -0.0493 0.1367)
OKLCHoklch(76.82% 0.145 109.8)
XYZxyz(38.8369, 46.3071, 11.1664)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB3C #3D3CBB
analogous
#BB7C3C #BABB3C #7ABB3C
triadic
#BABB3C #3CBABB #BB3CBA
tetradic
#BABB3C #3CBB7C #3D3CBB #BB3C7A
square
#BABB3C #3CBB7C #3D3CBB #BB3C7A
split-complementary
#BABB3C #3C7ABB #7C3CBB
monochromatic
#5E5E1E #8C8D2D #BABB3C #CDCE66 #DCDD95

Accessibility & contrast

On white

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

On black

10.26
#BABB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB3C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB3C#FFFFFF#000000##000000
##BABB3C1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB329
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#C7AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb3c;
/* rgb */ color: rgb(186, 187, 60);
/* oklch */ color: oklch(76.8% 0.145 109.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf79',
    500: '#babb3c',
    950: '#000000',
  },
}
SCSS
$custom: #babb3c;
$custom-light: #d2cf79;
$custom-dark: #000000;
JSON
{
  "hex": "#babb3c",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 60
  },
  "hsl": {
    "h": 60.472,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76822,
    "c": 0.1453,
    "h": 109.8
  },
  "luminance": 0.46306
}

Semantic roles & 50–950 ramp

primary
#BABB3C
secondary
#8B8BC8
accent
#4DDB4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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