#BABB70#BABB70

#BABB70 is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.4% C 0.097 H 109.1°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#BABB70
RGBrgb(186, 187, 112)
HSLhsl(61, 36%, 59%)
HSVhsv(61, 40%, 73%)
CMYKcmyk(0.5%, 0%, 40.1%, 26.7%)
CIE-LABlab(74.29, -11.54, 37.83)
CIE-LCHlch(74.29, 39.55, 106.97°)
OKLaboklab(77.43% -0.0319 0.0919)
OKLCHoklch(77.43% 0.097 109.1)
XYZxyz(40.9452, 47.1504, 22.2701)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB70 #7170BB
analogous
#BB9670 #BABB70 #94BB70
triadic
#BABB70 #70BABB #BB70BA
tetradic
#BABB70 #70BB96 #7170BB #BB7094
square
#BABB70 #70BB96 #7170BB #BB7094
split-complementary
#BABB70 #7094BB #9670BB
monochromatic
#777839 #A0A14D #BABB70 #CECF99 #E2E2C3

Accessibility & contrast

On white

2.01
#BABB70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#BABB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB70
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB70#FFFFFF#000000##000000
##BABB701.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B56A
Deuteranopia (green-blind)
#C7B873
Tritanopia (blue-blind)
#C4B2A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babb70;
/* rgb */ color: rgb(186, 187, 112);
/* oklch */ color: oklch(77.4% 0.097 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0cf9a',
    500: '#babb70',
    950: '#000000',
  },
}
SCSS
$custom: #babb70;
$custom-light: #d0cf9a;
$custom-dark: #000000;
JSON
{
  "hex": "#babb70",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 112
  },
  "hsl": {
    "h": 60.8,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77429,
    "c": 0.0973,
    "h": 109.1
  },
  "luminance": 0.4715
}

Semantic roles & 50–950 ramp

primary
#BABB70
secondary
#B5B5D2
accent
#5CCC5E
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BABB70

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

Preview Lab → · Contrast checker → · Palette generator →

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