#BABB3B#BABB3B

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

Color values

HEX#BABB3B
RGBrgb(186, 187, 59)
HSLhsl(60, 52%, 48%)
HSVhsv(60, 68%, 73%)
CMYKcmyk(0.5%, 0%, 68.4%, 26.7%)
CIE-LABlab(73.74, -15.86, 61.49)
CIE-LCHlch(73.74, 63.50, 104.46°)
OKLaboklab(76.82% -0.0495 0.1373)
OKLCHoklch(76.82% 0.146 109.8)
XYZxyz(38.8107, 46.2966, 11.0285)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB3B #3C3BBB
analogous
#BB7C3B #BABB3B #7ABB3B
triadic
#BABB3B #3BBABB #BB3BBA
tetradic
#BABB3B #3BBB7C #3C3BBB #BB3B7A
square
#BABB3B #3BBB7C #3C3BBB #BB3B7A
split-complementary
#BABB3B #3B7ABB #7C3BBB
monochromatic
#5D5E1E #8C8C2C #BABB3B #CECE65 #DCDD93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB3B#FFFFFF#000000##000000
##BABB3B1.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)
#CAB327
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#C7AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb3b;
/* rgb */ color: rgb(186, 187, 59);
/* oklch */ color: oklch(76.8% 0.146 109.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf79',
    500: '#babb3b',
    950: '#000000',
  },
}
SCSS
$custom: #babb3b;
$custom-light: #d2cf79;
$custom-dark: #000000;
JSON
{
  "hex": "#babb3b",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 59
  },
  "hsl": {
    "h": 60.469,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76815,
    "c": 0.14597,
    "h": 109.8
  },
  "luminance": 0.46296
}

Semantic roles & 50–950 ramp

primary
#BABB3B
secondary
#8A8AC8
accent
#4CDB4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BABB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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