#BABB4E#BABB4E

#BABB4E is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.0% C 0.131 H 109.6°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#BABB4E
RGBrgb(186, 187, 78)
HSLhsl(61, 44%, 52%)
HSVhsv(61, 58%, 73%)
CMYKcmyk(0.5%, 0%, 58.3%, 26.7%)
CIE-LABlab(73.89, -14.65, 53.77)
CIE-LCHlch(73.89, 55.73, 105.24°)
OKLaboklab(76.98% -0.0441 0.1238)
OKLCHoklch(76.98% 0.131 109.6)
XYZxyz(39.3963, 46.5308, 14.1123)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB4E #4F4EBB
analogous
#BB854E #BABB4E #84BB4E
triadic
#BABB4E #4EBABB #BB4EBA
tetradic
#BABB4E #4EBB85 #4F4EBB #BB4E84
square
#BABB4E #4EBB85 #4F4EBB #BB4E84
split-complementary
#BABB4E #4E84BB #854EBB
monochromatic
#666728 #929339 #BABB4E #CBCC7A #DCDDA6

Accessibility & contrast

On white

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

On black

10.31
#BABB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB4E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB4E#FFFFFF#000000##000000
##BABB4E1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B442
Deuteranopia (green-blind)
#CAB754
Tritanopia (blue-blind)
#C6B0A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babb4e;
/* rgb */ color: rgb(186, 187, 78);
/* oklch */ color: oklch(77.0% 0.131 109.6);
Tailwind
colors: {
  custom: {
    50: '#d1cf84',
    500: '#babb4e',
    950: '#000000',
  },
}
SCSS
$custom: #babb4e;
$custom-light: #d1cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#babb4e",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 60.55,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76984,
    "c": 0.13144,
    "h": 109.6
  },
  "luminance": 0.4653
}

Semantic roles & 50–950 ramp

primary
#BABB4E
secondary
#9B9BCA
accent
#54D455
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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