#B5BC1C#B5BC1C

#B5BC1C is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.4% C 0.164 H 112.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#B5BC1C
RGBrgb(181, 188, 28)
HSLhsl(63, 74%, 42%)
HSVhsv(63, 85%, 74%)
CMYKcmyk(3.7%, 0%, 85.1%, 26.3%)
CIE-LABlab(73.46, -19.72, 70.51)
CIE-LCHlch(73.46, 73.22, 105.62°)
OKLaboklab(76.45% -0.0625 0.1513)
OKLCHoklch(76.45% 0.164 112.4)
XYZxyz(37.2502, 45.8750, 7.9909)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC1C #231CBC
analogous
#BC731C #B5BC1C #65BC1C
triadic
#B5BC1C #1CB5BC #BC1CB5
tetradic
#B5BC1C #1CBC73 #231CBC #BC1C65
square
#B5BC1C #1CBC73 #231CBC #BC1C65
split-complementary
#B5BC1C #1C65BC #731CBC
monochromatic
#4E510C #828714 #B5BC1C #D9E134 #E3E96A

Accessibility & contrast

On white

2.06
#B5BC1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#B5BC1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC1C
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC1C#FFFFFF#000000##000000
##B5BC1C1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CBB62E
Tritanopia (blue-blind)
#C2B0A0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bc1c;
/* rgb */ color: rgb(181, 188, 28);
/* oklch */ color: oklch(76.4% 0.164 112.4);
Tailwind
colors: {
  custom: {
    50: '#cfcf6b',
    500: '#b5bc1c',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc1c;
$custom-light: #cfcf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc1c",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 28
  },
  "hsl": {
    "h": 62.625,
    "s": 74.074,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7645,
    "c": 0.16371,
    "h": 112.4
  },
  "luminance": 0.45874
}

Semantic roles & 50–950 ramp

primary
#B5BC1C
secondary
#6A65CE
accent
#37F13F
background
#FDFCF6
surface
#FAF9EC
border
#D3D2C7
text
#141308
muted
#83827A

Preview Lab

Preview with #B5BC1C

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

Preview Lab → · Contrast checker → · Palette generator →

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