#BABC25#BABC25

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

Color values

HEX#BABC25
RGBrgb(186, 188, 37)
HSLhsl(61, 67%, 44%)
HSVhsv(61, 80%, 74%)
CMYKcmyk(1.1%, 0%, 80.3%, 26.3%)
CIE-LABlab(73.89, -17.31, 68.84)
CIE-LCHlch(73.89, 70.99, 104.11°)
OKLaboklab(76.9% -0.0555 0.149)
OKLCHoklch(76.9% 0.159 110.4)
XYZxyz(38.5683, 46.5402, 8.7014)
Luminance0.4654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC25 #2725BC
analogous
#BC7325 #BABC25 #6FBC25
triadic
#BABC25 #25BABC #BC25BA
tetradic
#BABC25 #25BC73 #2725BC #BC256F
square
#BABC25 #25BC73 #2725BC #BC256F
split-complementary
#BABC25 #256FBC #7325BC
monochromatic
#555611 #87891B #BABC25 #D8DA44 #E3E477

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABC25#FFFFFF#000000##000000
##BABC251.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)
#CBB300
Deuteranopia (green-blind)
#CDB833
Tritanopia (blue-blind)
#C8B0A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babc25;
/* rgb */ color: rgb(186, 188, 37);
/* oklch */ color: oklch(76.9% 0.159 110.4);
Tailwind
colors: {
  custom: {
    50: '#d3cf6f',
    500: '#babc25',
    950: '#000000',
  },
}
SCSS
$custom: #babc25;
$custom-light: #d3cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#babc25",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 37
  },
  "hsl": {
    "h": 60.795,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76903,
    "c": 0.15901,
    "h": 110.4
  },
  "luminance": 0.46539
}

Semantic roles & 50–950 ramp

primary
#BABC25
secondary
#7271CC
accent
#3EEA40
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABC25

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

Preview Lab → · Contrast checker → · Palette generator →

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