#B8CC40#B8CC40

#B8CC40 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.5% C 0.162 H 117.2°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#B8CC40
RGBrgb(184, 204, 64)
HSLhsl(69, 58%, 53%)
HSVhsv(69, 69%, 80%)
CMYKcmyk(9.8%, 0%, 68.6%, 20%)
CIE-LABlab(78.31, -24.82, 64.14)
CIE-LCHlch(78.31, 68.77, 111.16°)
OKLaboklab(80.45% -0.074 0.1438)
OKLCHoklch(80.45% 0.162 117.2)
XYZxyz(42.2864, 53.7467, 12.9960)
Luminance0.5375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CC40 #5440CC
analogous
#CC9A40 #B8CC40 #72CC40
triadic
#B8CC40 #40B8CC #CC40B8
tetradic
#B8CC40 #40CC9A #5440CC #CC4072
square
#B8CC40 #40CC9A #5440CC #CC4072
split-complementary
#B8CC40 #4072CC #9A40CC
monochromatic
#67731F #92A32C #B8CC40 #CAD970 #DCE6A1

Accessibility & contrast

On white

1.79
#B8CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#B8CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CC40
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CC40#FFFFFF#000000##000000
##B8CC401.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC12A
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#C3C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b8cc40;
/* rgb */ color: rgb(184, 204, 64);
/* oklch */ color: oklch(80.5% 0.162 117.2);
Tailwind
colors: {
  custom: {
    50: '#d1db7d',
    500: '#b8cc40',
    950: '#000000',
  },
}
SCSS
$custom: #b8cc40;
$custom-light: #d1db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cc40",
  "rgb": {
    "r": 184,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 68.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80454,
    "c": 0.16167,
    "h": 117.2
  },
  "luminance": 0.53746
}

Semantic roles & 50–950 ramp

primary
#B8CC40
secondary
#3F347C
accent
#47E15D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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