#B0BC31#B0BC31

#B0BC31 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.1% C 0.156 H 114.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#B0BC31
RGBrgb(176, 188, 49)
HSLhsl(65, 59%, 46%)
HSVhsv(65, 74%, 74%)
CMYKcmyk(6.4%, 0%, 73.9%, 26.3%)
CIE-LABlab(73.17, -21.10, 64.25)
CIE-LCHlch(73.17, 67.63, 108.18°)
OKLaboklab(76.15% -0.0645 0.1417)
OKLCHoklch(76.15% 0.156 114.5)
XYZxyz(36.4431, 45.4190, 9.7521)
Luminance0.4542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0BC31 #3D31BC
analogous
#BC8331 #B0BC31 #6BBC31
triadic
#B0BC31 #31B0BC #BC31B0
tetradic
#B0BC31 #31BC83 #3D31BC #BC316B
square
#B0BC31 #31BC83 #3D31BC #BC316B
split-complementary
#B0BC31 #316BBC #8331BC
monochromatic
#555B18 #838B24 #B0BC31 #C8D357 #D8E088

Accessibility & contrast

On white

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

On black

10.08
#B0BC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0BC31
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0BC31#FFFFFF#000000##000000
##B0BC311.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB313
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#BCB1A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b0bc31;
/* rgb */ color: rgb(176, 188, 49);
/* oklch */ color: oklch(76.1% 0.156 114.5);
Tailwind
colors: {
  custom: {
    50: '#cbd074',
    500: '#b0bc31',
    950: '#000000',
  },
}
SCSS
$custom: #b0bc31;
$custom-light: #cbd074;
$custom-dark: #000000;
JSON
{
  "hex": "#b0bc31",
  "rgb": {
    "r": 176,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 65.18,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76145,
    "c": 0.15573,
    "h": 114.5
  },
  "luminance": 0.45418
}

Semantic roles & 50–950 ramp

primary
#B0BC31
secondary
#867FCA
accent
#46E253
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B0BC31

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

Preview Lab → · Contrast checker → · Palette generator →

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