#BABB4F#BABB4F

#BABB4F 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#BABB4F
RGBrgb(186, 187, 79)
HSLhsl(61, 44%, 52%)
HSVhsv(61, 58%, 73%)
CMYKcmyk(0.5%, 0%, 57.8%, 26.7%)
CIE-LABlab(73.90, -14.58, 53.33)
CIE-LCHlch(73.90, 55.29, 105.29°)
OKLaboklab(76.99% -0.0438 0.123)
OKLCHoklch(76.99% 0.131 109.6)
XYZxyz(39.4324, 46.5453, 14.3026)
Luminance0.4654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB4F #504FBB
analogous
#BB864F #BABB4F #84BB4F
triadic
#BABB4F #4FBABB #BB4FBA
tetradic
#BABB4F #4FBB86 #504FBB #BB4F84
square
#BABB4F #4FBB86 #504FBB #BB4F84
split-complementary
#BABB4F #4F84BB #864FBB
monochromatic
#676828 #939439 #BABB4F #CBCC7B #DDDDA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB4F#FFFFFF#000000##000000
##BABB4F1.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)
#C9B443
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#C6B0A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babb4f;
/* rgb */ color: rgb(186, 187, 79);
/* oklch */ color: oklch(77.0% 0.131 109.6);
Tailwind
colors: {
  custom: {
    50: '#d1cf84',
    500: '#babb4f',
    950: '#000000',
  },
}
SCSS
$custom: #babb4f;
$custom-light: #d1cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#babb4f",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 79
  },
  "hsl": {
    "h": 60.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76994,
    "c": 0.13058,
    "h": 109.6
  },
  "luminance": 0.46544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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