#B9C733#B9C733

#B9C733 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.3% C 0.164 H 115.0°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#B9C733
RGBrgb(185, 199, 51)
HSLhsl(66, 59%, 49%)
HSVhsv(66, 74%, 78%)
CMYKcmyk(7%, 0%, 74.4%, 22%)
CIE-LABlab(76.92, -22.64, 67.37)
CIE-LCHlch(76.92, 71.07, 108.58°)
OKLaboklab(79.33% -0.0691 0.1484)
OKLCHoklch(79.33% 0.164 115)
XYZxyz(41.0297, 51.4009, 10.8913)
Luminance0.5140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C733 #4133C7
analogous
#C78B33 #B9C733 #6FC733
triadic
#B9C733 #33B9C7 #C733B9
tetradic
#B9C733 #33C78B #4133C7 #C7336F
square
#B9C733 #33C78B #4133C7 #C7336F
split-complementary
#B9C733 #336FC7 #8B33C7
monochromatic
#5E661A #8C9627 #B9C733 #CBD661 #DBE391

Accessibility & contrast

On white

1.86
#B9C733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#B9C733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C733
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C733#FFFFFF#000000##000000
##B9C7331.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD11
Deuteranopia (green-blind)
#D5BF40
Tritanopia (blue-blind)
#C5BBAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b9c733;
/* rgb */ color: rgb(185, 199, 51);
/* oklch */ color: oklch(79.3% 0.164 115.0);
Tailwind
colors: {
  custom: {
    50: '#d2d776',
    500: '#b9c733',
    950: '#000000',
  },
}
SCSS
$custom: #b9c733;
$custom-light: #d2d776;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c733",
  "rgb": {
    "r": 185,
    "g": 199,
    "b": 51
  },
  "hsl": {
    "h": 65.676,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79329,
    "c": 0.16368,
    "h": 115
  },
  "luminance": 0.514
}

Semantic roles & 50–950 ramp

primary
#B9C733
secondary
#352E70
accent
#45E254
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C733

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

Preview Lab → · Contrast checker → · Palette generator →

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