#B0CA21#B0CA21

#B0CA21 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.2% C 0.178 H 118.9°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#B0CA21
RGBrgb(176, 202, 33)
HSLhsl(69, 72%, 46%)
HSVhsv(69, 84%, 79%)
CMYKcmyk(12.9%, 0%, 83.7%, 20.8%)
CIE-LABlab(77.03, -28.49, 72.24)
CIE-LCHlch(77.03, 77.66, 111.53°)
OKLaboklab(79.23% -0.0861 0.1561)
OKLCHoklch(79.23% 0.178 118.9)
XYZxyz(39.3005, 51.5813, 9.3244)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0CA21 #3B21CA
analogous
#CA8F21 #B0CA21 #5BCA21
triadic
#B0CA21 #21B0CA #CA21B0
tetradic
#B0CA21 #21CA8F #3B21CA #CA215B
square
#B0CA21 #21CA8F #3B21CA #CA215B
split-complementary
#B0CA21 #215BCA #8F21CA
monochromatic
#546110 #829518 #B0CA21 #C9E147 #D9EA7C

Accessibility & contrast

On white

1.86
#B0CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#B0CA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0CA21
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0CA21#FFFFFF#000000##000000
##B0CA211.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D5BF34
Tritanopia (blue-blind)
#BBBFAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b0ca21;
/* rgb */ color: rgb(176, 202, 33);
/* oklch */ color: oklch(79.2% 0.178 118.9);
Tailwind
colors: {
  custom: {
    50: '#ccda6f',
    500: '#b0ca21',
    950: '#000000',
  },
}
SCSS
$custom: #b0ca21;
$custom-light: #ccda6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b0ca21",
  "rgb": {
    "r": 176,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 69.231,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79228,
    "c": 0.17822,
    "h": 118.9
  },
  "luminance": 0.51581
}

Semantic roles & 50–950 ramp

primary
#B0CA21
secondary
#2F246C
accent
#39EF55
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #B0CA21

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

Preview Lab → · Contrast checker → · Palette generator →

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