#B5BC23#B5BC23

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

Color values

HEX#B5BC23
RGBrgb(181, 188, 35)
HSLhsl(63, 69%, 44%)
HSVhsv(63, 81%, 74%)
CMYKcmyk(3.7%, 0%, 81.4%, 26.3%)
CIE-LABlab(73.49, -19.52, 68.87)
CIE-LCHlch(73.49, 71.58, 105.82°)
OKLaboklab(76.48% -0.0615 0.1489)
OKLCHoklch(76.48% 0.161 112.4)
XYZxyz(37.3439, 45.9125, 8.4846)
Luminance0.4591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC23 #2A23BC
analogous
#BC7623 #B5BC23 #68BC23
triadic
#B5BC23 #23B5BC #BC23B5
tetradic
#B5BC23 #23BC76 #2A23BC #BC2368
square
#B5BC23 #23BC76 #2A23BC #BC2368
split-complementary
#B5BC23 #2368BC #7623BC
monochromatic
#525510 #838819 #B5BC23 #D4DC41 #E0E574

Accessibility & contrast

On white

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

On black

10.18
#B5BC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC23
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC23#FFFFFF#000000##000000
##B5BC231.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bc23;
/* rgb */ color: rgb(181, 188, 35);
/* oklch */ color: oklch(76.5% 0.161 112.4);
Tailwind
colors: {
  custom: {
    50: '#cfcf6e',
    500: '#b5bc23',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc23;
$custom-light: #cfcf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc23",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 35
  },
  "hsl": {
    "h": 62.745,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76478,
    "c": 0.16111,
    "h": 112.4
  },
  "luminance": 0.45912
}

Semantic roles & 50–950 ramp

primary
#B5BC23
secondary
#736FCC
accent
#3CEB44
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BC23

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

Preview Lab → · Contrast checker → · Palette generator →

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