#BABE23#BABE23

#BABE23 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.162 H 111.2°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#BABE23
RGBrgb(186, 190, 35)
HSLhsl(62, 69%, 44%)
HSVhsv(62, 82%, 75%)
CMYKcmyk(2.1%, 0%, 81.6%, 25.5%)
CIE-LABlab(74.44, -18.37, 69.84)
CIE-LCHlch(74.44, 72.21, 104.74°)
OKLaboklab(77.33% -0.0586 0.1508)
OKLCHoklch(77.33% 0.162 111.2)
XYZxyz(38.9680, 47.3884, 8.6840)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE23 #2723BE
analogous
#BE7423 #BABE23 #6DBE23
triadic
#BABE23 #23BABE #BE23BA
tetradic
#BABE23 #23BE74 #2723BE #BE236D
square
#BABE23 #23BE74 #2723BE #BE236D
split-complementary
#BABE23 #236DBE #7423BE
monochromatic
#555710 #878A19 #BABE23 #D8DC42 #E3E676

Accessibility & contrast

On white

2.00
#BABE23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#BABE23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE23
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE23#FFFFFF#000000##000000
##BABE231.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CEB933
Tritanopia (blue-blind)
#C7B2A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babe23;
/* rgb */ color: rgb(186, 190, 35);
/* oklch */ color: oklch(77.3% 0.162 111.2);
Tailwind
colors: {
  custom: {
    50: '#d3d16e',
    500: '#babe23',
    950: '#000000',
  },
}
SCSS
$custom: #babe23;
$custom-light: #d3d16e;
$custom-dark: #000000;
JSON
{
  "hex": "#babe23",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 35
  },
  "hsl": {
    "h": 61.548,
    "s": 68.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.77335,
    "c": 0.16178,
    "h": 111.2
  },
  "luminance": 0.47387
}

Semantic roles & 50–950 ramp

primary
#BABE23
secondary
#7270CD
accent
#3CEC41
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BABE23

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

Preview Lab → · Contrast checker → · Palette generator →

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