#B8BC27#B8BC27

#B8BC27 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.7% C 0.159 H 111.2°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#B8BC27
RGBrgb(184, 188, 39)
HSLhsl(62, 66%, 45%)
HSVhsv(62, 79%, 74%)
CMYKcmyk(2.1%, 0%, 79.3%, 26.3%)
CIE-LABlab(73.74, -18.10, 68.10)
CIE-LCHlch(73.74, 70.46, 104.88°)
OKLaboklab(76.74% -0.0574 0.1478)
OKLCHoklch(76.74% 0.159 111.2)
XYZxyz(38.1180, 46.3043, 8.8487)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC27 #2B27BC
analogous
#BC7627 #B8BC27 #6DBC27
triadic
#B8BC27 #27B8BC #BC27B8
tetradic
#B8BC27 #27BC76 #2B27BC #BC276D
square
#B8BC27 #27BC76 #2B27BC #BC276D
split-complementary
#B8BC27 #276DBC #7627BC
monochromatic
#555712 #86891C #B8BC27 #D5D947 #E1E37A

Accessibility & contrast

On white

2.05
#B8BC27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#B8BC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BC27
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BC27#FFFFFF#000000##000000
##B8BC271.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CCB735
Tritanopia (blue-blind)
#C5B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bc27;
/* rgb */ color: rgb(184, 188, 39);
/* oklch */ color: oklch(76.7% 0.159 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf6f',
    500: '#b8bc27',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc27;
$custom-light: #d1cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc27",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 39
  },
  "hsl": {
    "h": 61.611,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76744,
    "c": 0.15861,
    "h": 111.2
  },
  "luminance": 0.46303
}

Semantic roles & 50–950 ramp

primary
#B8BC27
secondary
#7673CB
accent
#3FE944
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BC27

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

Preview Lab → · Contrast checker → · Palette generator →

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