#BABB30#BABB30

#BABB30 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.153 H 109.9°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#BABB30
RGBrgb(186, 187, 48)
HSLhsl(60, 59%, 46%)
HSVhsv(60, 74%, 73%)
CMYKcmyk(0.5%, 0%, 74.3%, 26.7%)
CIE-LABlab(73.67, -16.39, 65.34)
CIE-LCHlch(73.67, 67.36, 104.08°)
OKLaboklab(76.74% -0.052 0.1435)
OKLCHoklch(76.74% 0.153 109.9)
XYZxyz(38.5549, 46.1943, 9.6812)
Luminance0.4619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB30 #3130BB
analogous
#BB7630 #BABB30 #74BB30
triadic
#BABB30 #30BABB #BB30BA
tetradic
#BABB30 #30BB76 #3130BB #BB3074
square
#BABB30 #30BB76 #3130BB #BB3074
split-complementary
#BABB30 #3074BB #7630BB
monochromatic
#595A17 #8A8A23 #BABB30 #D2D355 #DFE086

Accessibility & contrast

On white

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

On black

10.24
#BABB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB30
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB30#FFFFFF#000000##000000
##BABB301.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB310
Deuteranopia (green-blind)
#CCB73B
Tritanopia (blue-blind)
#C7AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb30;
/* rgb */ color: rgb(186, 187, 48);
/* oklch */ color: oklch(76.7% 0.153 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2cf73',
    500: '#babb30',
    950: '#000000',
  },
}
SCSS
$custom: #babb30;
$custom-light: #d2cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#babb30",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 48
  },
  "hsl": {
    "h": 60.432,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76741,
    "c": 0.15266,
    "h": 109.9
  },
  "luminance": 0.46193
}

Semantic roles & 50–950 ramp

primary
#BABB30
secondary
#7E7DC9
accent
#45E247
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABB30

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

Preview Lab → · Contrast checker → · Palette generator →

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