#B2C924#B2C924

#B2C924 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.2% C 0.175 H 118.0°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#B2C924
RGBrgb(178, 201, 36)
HSLhsl(68, 70%, 46%)
HSVhsv(68, 82%, 79%)
CMYKcmyk(11.4%, 0%, 82.1%, 21.2%)
CIE-LABlab(76.90, -27.10, 71.47)
CIE-LCHlch(76.90, 76.43, 110.76°)
OKLaboklab(79.16% -0.0821 0.1548)
OKLCHoklch(79.16% 0.175 118)
XYZxyz(39.5662, 51.3661, 9.4990)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C924 #3B24C9
analogous
#C98E24 #B2C924 #5FC924
triadic
#B2C924 #24B2C9 #C924B2
tetradic
#B2C924 #24C98E #3B24C9 #C9245F
square
#B2C924 #24C98E #3B24C9 #C9245F
split-complementary
#B2C924 #245FC9 #8E24C9
monochromatic
#566111 #84951B #B2C924 #CADF4B #DAE87F

Accessibility & contrast

On white

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

On black

11.27
#B2C924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C924
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C924#FFFFFF#000000##000000
##B2C9241.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D5BF36
Tritanopia (blue-blind)
#BDBDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c924;
/* rgb */ color: rgb(178, 201, 36);
/* oklch */ color: oklch(79.2% 0.175 118.0);
Tailwind
colors: {
  custom: {
    50: '#cdd970',
    500: '#b2c924',
    950: '#000000',
  },
}
SCSS
$custom: #b2c924;
$custom-light: #cdd970;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c924",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 36
  },
  "hsl": {
    "h": 68.364,
    "s": 69.62,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79163,
    "c": 0.17526,
    "h": 118
  },
  "luminance": 0.51366
}

Semantic roles & 50–950 ramp

primary
#B2C924
secondary
#2F256C
accent
#3BEC54
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D

Preview Lab

Preview with #B2C924

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

Preview Lab → · Contrast checker → · Palette generator →

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