#BABB1E#BABB1E

#BABB1E is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.161 H 110.1°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#BABB1E
RGBrgb(186, 187, 30)
HSLhsl(60, 72%, 43%)
HSVhsv(60, 84%, 73%)
CMYKcmyk(0.5%, 0%, 84%, 26.7%)
CIE-LABlab(73.59, -17.01, 70.34)
CIE-LCHlch(73.59, 72.36, 103.60°)
OKLaboklab(76.65% -0.0551 0.151)
OKLCHoklch(76.65% 0.161 110.1)
XYZxyz(38.2559, 46.0747, 8.1062)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB1E #1F1EBB
analogous
#BB6D1E #BABB1E #6CBB1E
triadic
#BABB1E #1EBABB #BB1EBA
tetradic
#BABB1E #1EBB6D #1F1EBB #BB1E6C
square
#BABB1E #1EBB6D #1F1EBB #BB1E6C
split-complementary
#BABB1E #1E6CBB #6D1EBB
monochromatic
#51520D #868616 #BABB1E #DEDF37 #E7E76C

Accessibility & contrast

On white

2.06
#BABB1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#BABB1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB1E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB1E#FFFFFF#000000##000000
##BABB1E1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CCB72F
Tritanopia (blue-blind)
#C8AEA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb1e;
/* rgb */ color: rgb(186, 187, 30);
/* oklch */ color: oklch(76.7% 0.161 110.1);
Tailwind
colors: {
  custom: {
    50: '#d3cf6c',
    500: '#babb1e',
    950: '#000000',
  },
}
SCSS
$custom: #babb1e;
$custom-light: #d3cf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#babb1e",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 30
  },
  "hsl": {
    "h": 60.382,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.76654,
    "c": 0.16077,
    "h": 110.1
  },
  "luminance": 0.46073
}

Semantic roles & 50–950 ramp

primary
#BABB1E
secondary
#6867CD
accent
#39EF3A
background
#FDFCF6
surface
#FBF9EC
border
#D4D2C7
text
#151308
muted
#83827A

Preview Lab

Preview with #BABB1E

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

Preview Lab → · Contrast checker → · Palette generator →

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