#B1C938#B1C938

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

Color values

HEX#B1C938
RGBrgb(177, 201, 56)
HSLhsl(70, 57%, 50%)
HSVhsv(70, 72%, 79%)
CMYKcmyk(11.9%, 0%, 72.1%, 21.2%)
CIE-LABlab(76.92, -26.68, 65.48)
CIE-LCHlch(76.92, 70.71, 112.17°)
OKLaboklab(79.2% -0.0794 0.1455)
OKLCHoklch(79.2% 0.166 118.6)
XYZxyz(39.7328, 51.4062, 11.5699)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1C938 #5038C9
analogous
#C99838 #B1C938 #68C938
triadic
#B1C938 #38B1C9 #C938B1
tetradic
#B1C938 #38C998 #5038C9 #C93868
square
#B1C938 #38C998 #5038C9 #C93868
split-complementary
#B1C938 #3868C9 #9838C9
monochromatic
#5D6A1D #879A2A #B1C938 #C4D668 #D7E398

Accessibility & contrast

On white

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

On black

11.28
#B1C938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1C938
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1C938#FFFFFF#000000##000000
##B1C9381.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1C
Deuteranopia (green-blind)
#D4BE44
Tritanopia (blue-blind)
#BCBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b1c938;
/* rgb */ color: rgb(177, 201, 56);
/* oklch */ color: oklch(79.2% 0.166 118.6);
Tailwind
colors: {
  custom: {
    50: '#ccd978',
    500: '#b1c938',
    950: '#000000',
  },
}
SCSS
$custom: #b1c938;
$custom-light: #ccd978;
$custom-dark: #000000;
JSON
{
  "hex": "#b1c938",
  "rgb": {
    "r": 177,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 69.931,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79195,
    "c": 0.16576,
    "h": 118.6
  },
  "luminance": 0.51406
}

Semantic roles & 50–950 ramp

primary
#B1C938
secondary
#3C3174
accent
#47E161
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B1C938

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

Preview Lab → · Contrast checker → · Palette generator →

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