#B5BC20#B5BC20

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

Color values

HEX#B5BC20
RGBrgb(181, 188, 32)
HSLhsl(63, 71%, 43%)
HSVhsv(63, 83%, 74%)
CMYKcmyk(3.7%, 0%, 83%, 26.3%)
CIE-LABlab(73.48, -19.61, 69.61)
CIE-LCHlch(73.48, 72.32, 105.73°)
OKLaboklab(76.47% -0.062 0.15)
OKLCHoklch(76.47% 0.162 112.4)
XYZxyz(37.3013, 45.8954, 8.2600)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC20 #2720BC
analogous
#BC7520 #B5BC20 #67BC20
triadic
#B5BC20 #20B5BC #BC20B5
tetradic
#B5BC20 #20BC75 #2720BC #BC2067
square
#B5BC20 #20BC75 #2720BC #BC2067
split-complementary
#B5BC20 #2067BC #7520BC
monochromatic
#50530E #838817 #B5BC20 #D6DE3B #E1E770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BC20#FFFFFF#000000##000000
##B5BC201.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)
#CBB630
Tritanopia (blue-blind)
#C2B0A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bc20;
/* rgb */ color: rgb(181, 188, 32);
/* oklch */ color: oklch(76.5% 0.162 112.4);
Tailwind
colors: {
  custom: {
    50: '#cfcf6d',
    500: '#b5bc20',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc20;
$custom-light: #cfcf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc20",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 32
  },
  "hsl": {
    "h": 62.692,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.76465,
    "c": 0.16229,
    "h": 112.4
  },
  "luminance": 0.45894
}

Semantic roles & 50–950 ramp

primary
#B5BC20
secondary
#6F6BCD
accent
#3AEE42
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BC20

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

Preview Lab → · Contrast checker → · Palette generator →

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