#B9CC2B#B9CC2B

#B9CC2B is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.173 H 116.6°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#B9CC2B
RGBrgb(185, 204, 43)
HSLhsl(67, 65%, 48%)
HSVhsv(67, 79%, 80%)
CMYKcmyk(9.3%, 0%, 78.9%, 20%)
CIE-LABlab(78.27, -25.39, 71.02)
CIE-LCHlch(78.27, 75.43, 109.67°)
OKLaboklab(80.4% -0.0773 0.1548)
OKLCHoklch(80.4% 0.173 116.6)
XYZxyz(42.0376, 53.6750, 10.4308)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC2B #3E2BCC
analogous
#CC8E2B #B9CC2B #68CC2B
triadic
#B9CC2B #2BB9CC #CC2BB9
tetradic
#B9CC2B #2BCC8E #3E2BCC #CC2B68
square
#B9CC2B #2BCC8E #3E2BCC #CC2B68
split-complementary
#B9CC2B #2B68CC #8E2BCC
monochromatic
#5D6716 #8B9920 #B9CC2B #CCDC58 #DCE78B

Accessibility & contrast

On white

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

On black

11.73
#B9CC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC2B
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC2B#FFFFFF#000000##000000
##B9CC2B1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#D9C33B
Tritanopia (blue-blind)
#C5C0AF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc2b;
/* rgb */ color: rgb(185, 204, 43);
/* oklch */ color: oklch(80.4% 0.173 116.6);
Tailwind
colors: {
  custom: {
    50: '#d2db73',
    500: '#b9cc2b',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc2b;
$custom-light: #d2db73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc2b",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 43
  },
  "hsl": {
    "h": 67.081,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80402,
    "c": 0.17301,
    "h": 116.6
  },
  "luminance": 0.53674
}

Semantic roles & 50–950 ramp

primary
#B9CC2B
secondary
#332A71
accent
#40E854
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9CC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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