#B9C333#B9C333

#B9C333 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.4% C 0.159 H 113.5°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#B9C333
RGBrgb(185, 195, 51)
HSLhsl(64, 59%, 48%)
HSVhsv(64, 74%, 76%)
CMYKcmyk(5.1%, 0%, 73.8%, 23.5%)
CIE-LABlab(75.81, -20.67, 66.33)
CIE-LCHlch(75.81, 69.47, 107.31°)
OKLaboklab(78.44% -0.0637 0.1462)
OKLCHoklch(78.44% 0.159 113.5)
XYZxyz(40.1215, 49.5844, 10.5885)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C333 #3D33C3
analogous
#C38533 #B9C333 #71C333
triadic
#B9C333 #33B9C3 #C333B9
tetradic
#B9C333 #33C385 #3D33C3 #C33371
square
#B9C333 #33C385 #3D33C3 #C33371
split-complementary
#B9C333 #3371C3 #8533C3
monochromatic
#5D621A #8B9226 #B9C333 #CDD55E #DCE28F

Accessibility & contrast

On white

1.92
#B9C333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#B9C333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C333
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C333#FFFFFF#000000##000000
##B9C3331.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B913
Deuteranopia (green-blind)
#D1BC3F
Tritanopia (blue-blind)
#C5B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c333;
/* rgb */ color: rgb(185, 195, 51);
/* oklch */ color: oklch(78.4% 0.159 113.5);
Tailwind
colors: {
  custom: {
    50: '#d2d575',
    500: '#b9c333',
    950: '#000000',
  },
}
SCSS
$custom: #b9c333;
$custom-light: #d2d575;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c333",
  "rgb": {
    "r": 185,
    "g": 195,
    "b": 51
  },
  "hsl": {
    "h": 64.167,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78441,
    "c": 0.15944,
    "h": 113.5
  },
  "luminance": 0.49584
}

Semantic roles & 50–950 ramp

primary
#B9C333
secondary
#8B86CC
accent
#46E251
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #B9C333

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

Preview Lab → · Contrast checker → · Palette generator →

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