#B2C121#B2C121

#B2C121 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.168 H 115.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#B2C121
RGBrgb(178, 193, 33)
HSLhsl(66, 71%, 44%)
HSVhsv(66, 83%, 76%)
CMYKcmyk(7.8%, 0%, 82.9%, 24.3%)
CIE-LABlab(74.65, -23.32, 70.27)
CIE-LCHlch(74.65, 74.04, 108.36°)
OKLaboklab(77.35% -0.072 0.1517)
OKLCHoklch(77.35% 0.168 115.4)
XYZxyz(37.7057, 47.7154, 8.6622)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C121 #3021C1
analogous
#C18021 #B2C121 #62C121
triadic
#B2C121 #21B2C1 #C121B2
tetradic
#B2C121 #21C180 #3021C1 #C12162
square
#B2C121 #21C180 #3021C1 #C12162
split-complementary
#B2C121 #2162C1 #8021C1
monochromatic
#52580F #828D18 #B2C121 #D0DE41 #DDE775

Accessibility & contrast

On white

1.99
#B2C121 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#B2C121 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C121
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C121#FFFFFF#000000##000000
##B2C1211.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CEB932
Tritanopia (blue-blind)
#BEB5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c121;
/* rgb */ color: rgb(178, 193, 33);
/* oklch */ color: oklch(77.3% 0.168 115.4);
Tailwind
colors: {
  custom: {
    50: '#cdd36e',
    500: '#b2c121',
    950: '#000000',
  },
}
SCSS
$custom: #b2c121;
$custom-light: #cdd36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c121",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 33
  },
  "hsl": {
    "h": 65.625,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.77346,
    "c": 0.16793,
    "h": 115.4
  },
  "luminance": 0.47715
}

Semantic roles & 50–950 ramp

primary
#B2C121
secondary
#786FCF
accent
#3AEE4B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B2C121

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

Preview Lab → · Contrast checker → · Palette generator →

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