#B9C833#B9C833

#B9C833 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.6% C 0.165 H 115.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B9C833
RGBrgb(185, 200, 51)
HSLhsl(66, 59%, 49%)
HSVhsv(66, 75%, 78%)
CMYKcmyk(7.5%, 0%, 74.5%, 21.6%)
CIE-LABlab(77.20, -23.13, 67.63)
CIE-LCHlch(77.20, 71.47, 108.88°)
OKLaboklab(79.55% -0.0705 0.1489)
OKLCHoklch(79.55% 0.165 115.3)
XYZxyz(41.2606, 51.8626, 10.9682)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C833 #4233C8
analogous
#C88D33 #B9C833 #6FC833
triadic
#B9C833 #33B9C8 #C833B9
tetradic
#B9C833 #33C88D #4233C8 #C8336F
square
#B9C833 #33C88D #4233C8 #C8336F
split-complementary
#B9C833 #336FC8 #8D33C8
monochromatic
#5F661A #8C9727 #B9C833 #CBD761 #DBE392

Accessibility & contrast

On white

1.85
#B9C833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#B9C833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C833
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C833#FFFFFF#000000##000000
##B9C8331.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE10
Deuteranopia (green-blind)
#D5C040
Tritanopia (blue-blind)
#C5BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c833;
/* rgb */ color: rgb(185, 200, 51);
/* oklch */ color: oklch(79.6% 0.165 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d876',
    500: '#b9c833',
    950: '#000000',
  },
}
SCSS
$custom: #b9c833;
$custom-light: #d2d876;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c833",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 51
  },
  "hsl": {
    "h": 66.04,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79552,
    "c": 0.16475,
    "h": 115.3
  },
  "luminance": 0.51862
}

Semantic roles & 50–950 ramp

primary
#B9C833
secondary
#352F71
accent
#45E355
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C833

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

Preview Lab → · Contrast checker → · Palette generator →

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