#BABC23#BABC23

#BABC23 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.9% C 0.160 H 110.4°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#BABC23
RGBrgb(186, 188, 35)
HSLhsl(61, 69%, 44%)
HSVhsv(61, 81%, 74%)
CMYKcmyk(1.1%, 0%, 81.4%, 26.3%)
CIE-LABlab(73.89, -17.37, 69.36)
CIE-LCHlch(73.89, 71.51, 104.06°)
OKLaboklab(76.89% -0.0558 0.1498)
OKLCHoklch(76.89% 0.16 110.4)
XYZxyz(38.5378, 46.5280, 8.5406)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC23 #2523BC
analogous
#BC7123 #BABC23 #6DBC23
triadic
#BABC23 #23BABC #BC23BA
tetradic
#BABC23 #23BC71 #2523BC #BC236D
square
#BABC23 #23BC71 #2523BC #BC236D
split-complementary
#BABC23 #236DBC #7123BC
monochromatic
#545510 #878819 #BABC23 #DADC41 #E4E574

Accessibility & contrast

On white

2.04
#BABC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#BABC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC23
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC23#FFFFFF#000000##000000
##BABC231.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB300
Deuteranopia (green-blind)
#CDB832
Tritanopia (blue-blind)
#C8B0A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc23;
/* rgb */ color: rgb(186, 188, 35);
/* oklch */ color: oklch(76.9% 0.160 110.4);
Tailwind
colors: {
  custom: {
    50: '#d3cf6e',
    500: '#babc23',
    950: '#000000',
  },
}
SCSS
$custom: #babc23;
$custom-light: #d3cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#babc23",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 35
  },
  "hsl": {
    "h": 60.784,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76894,
    "c": 0.15984,
    "h": 110.4
  },
  "luminance": 0.46527
}

Semantic roles & 50–950 ramp

primary
#BABC23
secondary
#706FCC
accent
#3CEB3F
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABC23

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

Preview Lab → · Contrast checker → · Palette generator →

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