#B1C934#B1C934

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

Color values

HEX#B1C934
RGBrgb(177, 201, 52)
HSLhsl(70, 59%, 50%)
HSVhsv(70, 74%, 79%)
CMYKcmyk(11.9%, 0%, 74.1%, 21.2%)
CIE-LABlab(76.90, -26.88, 66.82)
CIE-LCHlch(76.90, 72.02, 111.91°)
OKLaboklab(79.17% -0.0803 0.1476)
OKLCHoklch(79.17% 0.168 118.5)
XYZxyz(39.6388, 51.3687, 11.0751)
Luminance0.5137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C934 #4C34C9
analogous
#C99634 #B1C934 #67C934
triadic
#B1C934 #34B1C9 #C934B1
tetradic
#B1C934 #34C996 #4C34C9 #C93467
square
#B1C934 #34C996 #4C34C9 #C93467
split-complementary
#B1C934 #3467C9 #9634C9
monochromatic
#5B681B #869827 #B1C934 #C4D763 #D7E394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1C934#FFFFFF#000000##000000
##B1C9341.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)
#D6BE13
Deuteranopia (green-blind)
#D4BE41
Tritanopia (blue-blind)
#BCBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b1c934;
/* rgb */ color: rgb(177, 201, 52);
/* oklch */ color: oklch(79.2% 0.168 118.5);
Tailwind
colors: {
  custom: {
    50: '#ccd977',
    500: '#b1c934',
    950: '#000000',
  },
}
SCSS
$custom: #b1c934;
$custom-light: #ccd977;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c934",
  "rgb": {
    "r": 177,
    "g": 201,
    "b": 52
  },
  "hsl": {
    "h": 69.664,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79169,
    "c": 0.16807,
    "h": 118.5
  },
  "luminance": 0.51368
}

Semantic roles & 50–950 ramp

primary
#B1C934
secondary
#3A2F72
accent
#46E25F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B1C934

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

Preview Lab → · Contrast checker → · Palette generator →

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