#B8BC40#B8BC40

#B8BC40 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.9% C 0.144 H 111.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#B8BC40
RGBrgb(184, 188, 64)
HSLhsl(62, 49%, 49%)
HSVhsv(62, 66%, 74%)
CMYKcmyk(2.1%, 0%, 66%, 26.3%)
CIE-LABlab(73.89, -16.93, 59.64)
CIE-LCHlch(73.89, 62.00, 105.84°)
OKLaboklab(76.91% -0.0519 0.1343)
OKLCHoklch(76.91% 0.144 111.1)
XYZxyz(38.6770, 46.5279, 11.7929)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC40 #4440BC
analogous
#BC8240 #B8BC40 #7ABC40
triadic
#B8BC40 #40B8BC #BC40B8
tetradic
#B8BC40 #40BC82 #4440BC #BC407A
square
#B8BC40 #40BC82 #4440BC #BC407A
split-complementary
#B8BC40 #407ABC #8240BC
monochromatic
#5F6121 #8B8E30 #B8BC40 #CACD6C #DADD9A

Accessibility & contrast

On white

2.04
#B8BC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#B8BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BC40
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BC40#FFFFFF#000000##000000
##B8BC401.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42F
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#C4B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bc40;
/* rgb */ color: rgb(184, 188, 64);
/* oklch */ color: oklch(76.9% 0.144 111.1);
Tailwind
colors: {
  custom: {
    50: '#d0d07c',
    500: '#b8bc40',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc40;
$custom-light: #d0d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc40",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 61.935,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76906,
    "c": 0.14397,
    "h": 111.1
  },
  "luminance": 0.46527
}

Semantic roles & 50–950 ramp

primary
#B8BC40
secondary
#918FC9
accent
#4FD953
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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