#BABC22#BABC22

#BABC22 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.30:1 contrast (WCAG AA passes).

Color values

HEX#BABC22
RGBrgb(186, 188, 34)
HSLhsl(61, 69%, 44%)
HSVhsv(61, 82%, 74%)
CMYKcmyk(1.1%, 0%, 81.9%, 26.3%)
CIE-LABlab(73.88, -17.40, 69.62)
CIE-LCHlch(73.88, 71.76, 104.03°)
OKLaboklab(76.89% -0.056 0.1502)
OKLCHoklch(76.89% 0.16 110.4)
XYZxyz(38.5231, 46.5222, 8.4635)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC22 #2422BC
analogous
#BC7122 #BABC22 #6DBC22
triadic
#BABC22 #22BABC #BC22BA
tetradic
#BABC22 #22BC71 #2422BC #BC226D
square
#BABC22 #22BC71 #2422BC #BC226D
split-complementary
#BABC22 #226DBC #7122BC
monochromatic
#53540F #878819 #BABC22 #DADC3F #E4E673

Accessibility & contrast

On white

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

On black

10.30
#BABC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC22
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC22#FFFFFF#000000##000000
##BABC221.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babc22;
/* rgb */ color: rgb(186, 188, 34);
/* oklch */ color: oklch(76.9% 0.160 110.4);
Tailwind
colors: {
  custom: {
    50: '#d3cf6d',
    500: '#babc22',
    950: '#000000',
  },
}
SCSS
$custom: #babc22;
$custom-light: #d3cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#babc22",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 34
  },
  "hsl": {
    "h": 60.779,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7689,
    "c": 0.16024,
    "h": 110.4
  },
  "luminance": 0.46521
}

Semantic roles & 50–950 ramp

primary
#BABC22
secondary
#6E6DCD
accent
#3CEC3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABC22

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

Preview Lab → · Contrast checker → · Palette generator →

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