#B9CC42#B9CC42

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

Color values

HEX#B9CC42
RGBrgb(185, 204, 66)
HSLhsl(68, 58%, 53%)
HSVhsv(68, 68%, 80%)
CMYKcmyk(9.3%, 0%, 67.6%, 20%)
CIE-LABlab(78.40, -24.30, 63.49)
CIE-LCHlch(78.40, 67.98, 110.94°)
OKLaboklab(80.55% -0.0724 0.1427)
OKLCHoklch(80.55% 0.16 116.9)
XYZxyz(42.5848, 53.8939, 13.3124)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC42 #5542CC
analogous
#CC9A42 #B9CC42 #74CC42
triadic
#B9CC42 #42B9CC #CC42B9
tetradic
#B9CC42 #42CC9A #5542CC #CC4274
square
#B9CC42 #42CC9A #5542CC #CC4274
split-complementary
#B9CC42 #4274CC #9A42CC
monochromatic
#69741F #94A42C #B9CC42 #CBD972 #DDE6A2

Accessibility & contrast

On white

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

On black

11.78
#B9CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC42
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC42#FFFFFF#000000##000000
##B9CC421.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9cc42;
/* rgb */ color: rgb(185, 204, 66);
/* oklch */ color: oklch(80.5% 0.160 116.9);
Tailwind
colors: {
  custom: {
    50: '#d1db7e',
    500: '#b9cc42',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc42;
$custom-light: #d1db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc42",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 68.261,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80545,
    "c": 0.15999,
    "h": 116.9
  },
  "luminance": 0.53893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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