#B9CC45#B9CC45

#B9CC45 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.6% C 0.158 H 117.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#B9CC45
RGBrgb(185, 204, 69)
HSLhsl(68, 57%, 54%)
HSVhsv(68, 66%, 80%)
CMYKcmyk(9.3%, 0%, 66.2%, 20%)
CIE-LABlab(78.42, -24.12, 62.36)
CIE-LCHlch(78.42, 66.86, 111.15°)
OKLaboklab(80.57% -0.0716 0.1407)
OKLCHoklch(80.57% 0.158 117)
XYZxyz(42.6755, 53.9302, 13.7905)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC45 #5845CC
analogous
#CC9B45 #B9CC45 #75CC45
triadic
#B9CC45 #45B9CC #CC45B9
tetradic
#B9CC45 #45CC9B #5845CC #CC4575
square
#B9CC45 #45CC9B #5845CC #CC4575
split-complementary
#B9CC45 #4575CC #9B45CC
monochromatic
#6A7620 #95A62E #B9CC45 #CBD975 #DDE6A5

Accessibility & contrast

On white

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

On black

11.79
#B9CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC45
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC45#FFFFFF#000000##000000
##B9CC451.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C132
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#C4C1B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc45;
/* rgb */ color: rgb(185, 204, 69);
/* oklch */ color: oklch(80.6% 0.158 117.0);
Tailwind
colors: {
  custom: {
    50: '#d1db80',
    500: '#b9cc45',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc45;
$custom-light: #d1db80;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc45",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 68.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80569,
    "c": 0.1579,
    "h": 117
  },
  "luminance": 0.5393
}

Semantic roles & 50–950 ramp

primary
#B9CC45
secondary
#41367F
accent
#48E05D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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