#B1CA28#B1CA28

#B1CA28 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.3% C 0.175 H 118.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#B1CA28
RGBrgb(177, 202, 40)
HSLhsl(69, 67%, 47%)
HSVhsv(69, 80%, 79%)
CMYKcmyk(12.4%, 0%, 80.2%, 20.8%)
CIE-LABlab(77.13, -27.85, 70.61)
CIE-LCHlch(77.13, 75.90, 111.53°)
OKLaboklab(79.33% -0.0839 0.1537)
OKLCHoklch(79.33% 0.175 118.6)
XYZxyz(39.6359, 51.7417, 9.9062)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CA28 #4128CA
analogous
#CA9228 #B1CA28 #60CA28
triadic
#B1CA28 #28B1CA #CA28B1
tetradic
#B1CA28 #28CA92 #4128CA #CA2860
square
#B1CA28 #28CA92 #4128CA #CA2860
split-complementary
#B1CA28 #2860CA #9228CA
monochromatic
#576414 #84971E #B1CA28 #C7DD52 #D8E785

Accessibility & contrast

On white

1.85
#B1CA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#B1CA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CA28
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CA28#FFFFFF#000000##000000
##B1CA281.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1ca28;
/* rgb */ color: rgb(177, 202, 40);
/* oklch */ color: oklch(79.3% 0.175 118.6);
Tailwind
colors: {
  custom: {
    50: '#ccda71',
    500: '#b1ca28',
    950: '#000000',
  },
}
SCSS
$custom: #b1ca28;
$custom-light: #ccda71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1ca28",
  "rgb": {
    "r": 177,
    "g": 202,
    "b": 40
  },
  "hsl": {
    "h": 69.259,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.79332,
    "c": 0.17508,
    "h": 118.6
  },
  "luminance": 0.51741
}

Semantic roles & 50–950 ramp

primary
#B1CA28
secondary
#33286E
accent
#3EEA58
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B1CA28

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

Preview Lab → · Contrast checker → · Palette generator →

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