#B5BC30#B5BC30

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

Color values

HEX#B5BC30
RGBrgb(181, 188, 48)
HSLhsl(63, 59%, 46%)
HSVhsv(63, 74%, 74%)
CMYKcmyk(3.7%, 0%, 74.5%, 26.3%)
CIE-LABlab(73.55, -19.02, 65.08)
CIE-LCHlch(73.55, 67.81, 106.29°)
OKLaboklab(76.55% -0.0591 0.1431)
OKLCHoklch(76.55% 0.155 112.4)
XYZxyz(37.5740, 46.0045, 9.6962)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC30 #3730BC
analogous
#BC7D30 #B5BC30 #6FBC30
triadic
#B5BC30 #30B5BC #BC30B5
tetradic
#B5BC30 #30BC7D #3730BC #BC306F
square
#B5BC30 #30BC7D #3730BC #BC306F
split-complementary
#B5BC30 #306FBC #7D30BC
monochromatic
#575A17 #868B24 #B5BC30 #CDD455 #DCE086

Accessibility & contrast

On white

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

On black

10.20
#B5BC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC30
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC30#FFFFFF#000000##000000
##B5BC301.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB310
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#C1B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bc30;
/* rgb */ color: rgb(181, 188, 48);
/* oklch */ color: oklch(76.5% 0.155 112.4);
Tailwind
colors: {
  custom: {
    50: '#cfd073',
    500: '#b5bc30',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc30;
$custom-light: #cfd073;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc30",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 48
  },
  "hsl": {
    "h": 63,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76545,
    "c": 0.15487,
    "h": 112.4
  },
  "luminance": 0.46004
}

Semantic roles & 50–950 ramp

primary
#B5BC30
secondary
#827ECA
accent
#45E34D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BC30

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

Preview Lab → · Contrast checker → · Palette generator →

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