#B1BC38#B1BC38

#B1BC38 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.151 H 114.1°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B1BC38
RGBrgb(177, 188, 56)
HSLhsl(65, 54%, 48%)
HSVhsv(65, 70%, 74%)
CMYKcmyk(5.9%, 0%, 70.2%, 26.3%)
CIE-LABlab(73.29, -20.33, 61.93)
CIE-LCHlch(73.29, 65.18, 108.17°)
OKLaboklab(76.27% -0.0618 0.138)
OKLCHoklch(76.27% 0.151 114.1)
XYZxyz(36.8295, 45.5998, 10.6021)
Luminance0.4560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1BC38 #4338BC
analogous
#BC8538 #B1BC38 #6FBC38
triadic
#B1BC38 #38B1BC #BC38B1
tetradic
#B1BC38 #38BC85 #4338BC #BC386F
square
#B1BC38 #38BC85 #4338BC #BC386F
split-complementary
#B1BC38 #386FBC #8538BC
monochromatic
#585E1C #858D2A #B1BC38 #C7D061 #D8DE90

Accessibility & contrast

On white

2.08
#B1BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#B1BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1BC38
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1BC38#FFFFFF#000000##000000
##B1BC381.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#BDB1A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b1bc38;
/* rgb */ color: rgb(177, 188, 56);
/* oklch */ color: oklch(76.3% 0.151 114.1);
Tailwind
colors: {
  custom: {
    50: '#ccd077',
    500: '#b1bc38',
    950: '#000000',
  },
}
SCSS
$custom: #b1bc38;
$custom-light: #ccd077;
$custom-dark: #000000;
JSON
{
  "hex": "#b1bc38",
  "rgb": {
    "r": 177,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 65,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76272,
    "c": 0.15121,
    "h": 114.1
  },
  "luminance": 0.45599
}

Semantic roles & 50–950 ramp

primary
#B1BC38
secondary
#8C87C9
accent
#4ADD57
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B1BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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