#BABB5E#BABB5E

#BABB5E is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.2% C 0.117 H 109.4°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#BABB5E
RGBrgb(186, 187, 94)
HSLhsl(61, 41%, 55%)
HSVhsv(61, 50%, 73%)
CMYKcmyk(0.5%, 0%, 49.7%, 26.7%)
CIE-LABlab(74.05, -13.34, 46.51)
CIE-LCHlch(74.05, 48.38, 106.01°)
OKLaboklab(77.17% -0.0387 0.1099)
OKLCHoklch(77.17% 0.117 109.4)
XYZxyz(40.0413, 46.7888, 17.5094)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB5E #5F5EBB
analogous
#BB8D5E #BABB5E #8CBB5E
triadic
#BABB5E #5EBABB #BB5EBA
tetradic
#BABB5E #5EBB8D #5F5EBB #BB5E8C
square
#BABB5E #5EBB8D #5F5EBB #BB5E8C
split-complementary
#BABB5E #5E8CBB #8D5EBB
monochromatic
#6F702F #9A9B41 #BABB5E #CCCD89 #DFDFB4

Accessibility & contrast

On white

2.03
#BABB5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#BABB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB5E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB5E#FFFFFF#000000##000000
##BABB5E1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B455
Deuteranopia (green-blind)
#C9B863
Tritanopia (blue-blind)
#C5B1A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babb5e;
/* rgb */ color: rgb(186, 187, 94);
/* oklch */ color: oklch(77.2% 0.117 109.4);
Tailwind
colors: {
  custom: {
    50: '#d1cf8e',
    500: '#babb5e',
    950: '#000000',
  },
}
SCSS
$custom: #babb5e;
$custom-light: #d1cf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#babb5e",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 94
  },
  "hsl": {
    "h": 60.645,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77169,
    "c": 0.11654,
    "h": 109.4
  },
  "luminance": 0.46788
}

Semantic roles & 50–950 ramp

primary
#BABB5E
secondary
#A7A7CE
accent
#57D059
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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