#B8CA40#B8CA40

#B8CA40 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.0% C 0.159 H 116.6°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#B8CA40
RGBrgb(184, 202, 64)
HSLhsl(68, 57%, 52%)
HSVhsv(68, 68%, 79%)
CMYKcmyk(8.9%, 0%, 68.3%, 20.8%)
CIE-LABlab(77.76, -23.85, 63.58)
CIE-LCHlch(77.76, 67.91, 110.57°)
OKLaboklab(80.01% -0.0713 0.1426)
OKLCHoklch(80.01% 0.159 116.6)
XYZxyz(41.8141, 52.8021, 12.8386)
Luminance0.5280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA40 #5240CA
analogous
#CA9740 #B8CA40 #73CA40
triadic
#B8CA40 #40B8CA #CA40B8
tetradic
#B8CA40 #40CA97 #5240CA #CA4073
square
#B8CA40 #40CA97 #5240CA #CA4073
split-complementary
#B8CA40 #4073CA #9740CA
monochromatic
#66701F #91A02C #B8CA40 #CAD770 #DCE5A0

Accessibility & contrast

On white

1.82
#B8CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#B8CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA40
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA40#FFFFFF#000000##000000
##B8CA401.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02B
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#C3BFAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b8ca40;
/* rgb */ color: rgb(184, 202, 64);
/* oklch */ color: oklch(80.0% 0.159 116.6);
Tailwind
colors: {
  custom: {
    50: '#d1da7d',
    500: '#b8ca40',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca40;
$custom-light: #d1da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca40",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 67.826,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80007,
    "c": 0.15939,
    "h": 116.6
  },
  "luminance": 0.52802
}

Semantic roles & 50–950 ramp

primary
#B8CA40
secondary
#3E357A
accent
#48E05C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B8CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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