#B3CA21#B3CA21

#B3CA21 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.5% C 0.177 H 117.9°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#B3CA21
RGBrgb(179, 202, 33)
HSLhsl(68, 72%, 46%)
HSVhsv(68, 84%, 79%)
CMYKcmyk(11.4%, 0%, 83.7%, 20.8%)
CIE-LABlab(77.24, -27.25, 72.51)
CIE-LCHlch(77.24, 77.46, 110.60°)
OKLaboklab(79.45% -0.0828 0.1565)
OKLCHoklch(79.45% 0.177 117.9)
XYZxyz(39.9865, 51.9350, 9.3565)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3CA21 #3821CA
analogous
#CA8C21 #B3CA21 #5ECA21
triadic
#B3CA21 #21B3CA #CA21B3
tetradic
#B3CA21 #21CA8C #3821CA #CA215E
square
#B3CA21 #21CA8C #3821CA #CA215E
split-complementary
#B3CA21 #215ECA #8C21CA
monochromatic
#566110 #849518 #B3CA21 #CCE147 #DBEA7C

Accessibility & contrast

On white

1.84
#B3CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#B3CA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3CA21
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3CA21#FFFFFF#000000##000000
##B3CA211.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D6C034
Tritanopia (blue-blind)
#BEBEAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b3ca21;
/* rgb */ color: rgb(179, 202, 33);
/* oklch */ color: oklch(79.5% 0.177 117.9);
Tailwind
colors: {
  custom: {
    50: '#ceda6f',
    500: '#b3ca21',
    950: '#000000',
  },
}
SCSS
$custom: #b3ca21;
$custom-light: #ceda6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ca21",
  "rgb": {
    "r": 179,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 68.166,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79452,
    "c": 0.17708,
    "h": 117.9
  },
  "luminance": 0.51935
}

Semantic roles & 50–950 ramp

primary
#B3CA21
secondary
#2D246C
accent
#39EF52
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #B3CA21

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

Preview Lab → · Contrast checker → · Palette generator →

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