#B9CC40#B9CC40

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

Color values

HEX#B9CC40
RGBrgb(185, 204, 64)
HSLhsl(68, 58%, 53%)
HSVhsv(68, 69%, 80%)
CMYKcmyk(9.3%, 0%, 68.6%, 20%)
CIE-LABlab(78.39, -24.41, 64.23)
CIE-LCHlch(78.39, 68.72, 110.81°)
OKLaboklab(80.53% -0.0729 0.1439)
OKLCHoklch(80.53% 0.161 116.9)
XYZxyz(42.5268, 53.8707, 13.0073)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC40 #5340CC
analogous
#CC9940 #B9CC40 #73CC40
triadic
#B9CC40 #40B9CC #CC40B9
tetradic
#B9CC40 #40CC99 #5340CC #CC4073
square
#B9CC40 #40CC99 #5340CC #CC4073
split-complementary
#B9CC40 #4073CC #9940CC
monochromatic
#67731F #93A32C #B9CC40 #CBD970 #DCE6A1

Accessibility & contrast

On white

1.78
#B9CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#B9CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC40
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC40#FFFFFF#000000##000000
##B9CC401.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9cc40;
/* rgb */ color: rgb(185, 204, 64);
/* oklch */ color: oklch(80.5% 0.161 116.9);
Tailwind
colors: {
  custom: {
    50: '#d1db7d',
    500: '#b9cc40',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc40;
$custom-light: #d1db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc40",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 68.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.8053,
    "c": 0.16133,
    "h": 116.9
  },
  "luminance": 0.5387
}

Semantic roles & 50–950 ramp

primary
#B9CC40
secondary
#3E347C
accent
#47E15C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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