#BABB23#BABB23

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

Color values

HEX#BABB23
RGBrgb(186, 187, 35)
HSLhsl(60, 68%, 44%)
HSVhsv(60, 81%, 73%)
CMYKcmyk(0.5%, 0%, 81.3%, 26.7%)
CIE-LABlab(73.61, -16.87, 69.13)
CIE-LCHlch(73.61, 71.16, 103.71°)
OKLaboklab(76.67% -0.0544 0.1493)
OKLCHoklch(76.67% 0.159 110)
XYZxyz(38.3249, 46.1023, 8.4696)
Luminance0.4610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB23 #2423BB
analogous
#BB7023 #BABB23 #6EBB23
triadic
#BABB23 #23BABB #BB23BA
tetradic
#BABB23 #23BB70 #2423BB #BB236E
square
#BABB23 #23BB70 #2423BB #BB236E
split-complementary
#BABB23 #236EBB #7023BB
monochromatic
#535410 #878719 #BABB23 #DADB40 #E4E574

Accessibility & contrast

On white

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

On black

10.22
#BABB23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB23
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB23#FFFFFF#000000##000000
##BABB231.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babb23;
/* rgb */ color: rgb(186, 187, 35);
/* oklch */ color: oklch(76.7% 0.159 110.0);
Tailwind
colors: {
  custom: {
    50: '#d3cf6e',
    500: '#babb23',
    950: '#000000',
  },
}
SCSS
$custom: #babb23;
$custom-light: #d3cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#babb23",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 35
  },
  "hsl": {
    "h": 60.395,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76674,
    "c": 0.15887,
    "h": 110
  },
  "luminance": 0.46101
}

Semantic roles & 50–950 ramp

primary
#BABB23
secondary
#6F6ECC
accent
#3CEB3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABB23

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

Preview Lab → · Contrast checker → · Palette generator →

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