#B8CB40#B8CB40

#B8CB40 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.2% C 0.161 H 116.9°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#B8CB40
RGBrgb(184, 203, 64)
HSLhsl(68, 57%, 52%)
HSVhsv(68, 68%, 80%)
CMYKcmyk(9.4%, 0%, 68.5%, 20.4%)
CIE-LABlab(78.04, -24.34, 63.86)
CIE-LCHlch(78.04, 68.34, 110.86°)
OKLaboklab(80.23% -0.0726 0.1432)
OKLCHoklch(80.23% 0.161 116.9)
XYZxyz(42.0495, 53.2729, 12.9170)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CB40 #5340CB
analogous
#CB9840 #B8CB40 #73CB40
triadic
#B8CB40 #40B8CB #CB40B8
tetradic
#B8CB40 #40CB98 #5340CB #CB4073
square
#B8CB40 #40CB98 #5340CB #CB4073
split-complementary
#B8CB40 #4073CB #9840CB
monochromatic
#66721F #92A22C #B8CB40 #CAD870 #DCE5A0

Accessibility & contrast

On white

1.80
#B8CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#B8CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CB40
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CB40#FFFFFF#000000##000000
##B8CB401.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C02A
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#C3C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b8cb40;
/* rgb */ color: rgb(184, 203, 64);
/* oklch */ color: oklch(80.2% 0.161 116.9);
Tailwind
colors: {
  custom: {
    50: '#d1da7d',
    500: '#b8cb40',
    950: '#000000',
  },
}
SCSS
$custom: #b8cb40;
$custom-light: #d1da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cb40",
  "rgb": {
    "r": 184,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 68.201,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8023,
    "c": 0.16053,
    "h": 116.9
  },
  "luminance": 0.53272
}

Semantic roles & 50–950 ramp

primary
#B8CB40
secondary
#3E357B
accent
#47E05C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B8CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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