#B9CB45#B9CB45

#B9CB45 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.3% C 0.157 H 116.6°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#B9CB45
RGBrgb(185, 203, 69)
HSLhsl(68, 56%, 53%)
HSVhsv(68, 66%, 80%)
CMYKcmyk(8.9%, 0%, 66%, 20.4%)
CIE-LABlab(78.14, -23.63, 62.07)
CIE-LCHlch(78.14, 66.42, 110.84°)
OKLaboklab(80.35% -0.0702 0.1401)
OKLCHoklch(80.35% 0.157 116.6)
XYZxyz(42.4386, 53.4564, 13.7115)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CB45 #5745CB
analogous
#CB9A45 #B9CB45 #76CB45
triadic
#B9CB45 #45B9CB #CB45B9
tetradic
#B9CB45 #45CB9A #5745CB #CB4576
square
#B9CB45 #45CB9A #5745CB #CB4576
split-complementary
#B9CB45 #4576CB #9A45CB
monochromatic
#6A7521 #95A52E #B9CB45 #CBD875 #DDE6A5

Accessibility & contrast

On white

1.80
#B9CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#B9CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CB45
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CB45#FFFFFF#000000##000000
##B9CB451.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C132
Deuteranopia (green-blind)
#D7C24F
Tritanopia (blue-blind)
#C4C0B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b9cb45;
/* rgb */ color: rgb(185, 203, 69);
/* oklch */ color: oklch(80.3% 0.157 116.6);
Tailwind
colors: {
  custom: {
    50: '#d1da80',
    500: '#b9cb45',
    950: '#000000',
  },
}
SCSS
$custom: #b9cb45;
$custom-light: #d1da80;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cb45",
  "rgb": {
    "r": 185,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 68.06,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.80346,
    "c": 0.15676,
    "h": 116.6
  },
  "luminance": 0.53456
}

Semantic roles & 50–950 ramp

primary
#B9CB45
secondary
#40377E
accent
#48E05D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B9CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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