#B9C336#B9C336

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

Color values

HEX#B9C336
RGBrgb(185, 195, 54)
HSLhsl(64, 57%, 49%)
HSVhsv(64, 72%, 76%)
CMYKcmyk(5.1%, 0%, 72.3%, 23.5%)
CIE-LABlab(75.83, -20.53, 65.33)
CIE-LCHlch(75.83, 68.48, 107.45°)
OKLaboklab(78.46% -0.063 0.1446)
OKLCHoklch(78.46% 0.158 113.6)
XYZxyz(40.1897, 49.6117, 10.9482)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C336 #4036C3
analogous
#C38736 #B9C336 #73C336
triadic
#B9C336 #36B9C3 #C336B9
tetradic
#B9C336 #36C387 #4036C3 #C33673
square
#B9C336 #36C387 #4036C3 #C33673
split-complementary
#B9C336 #3673C3 #8736C3
monochromatic
#5E631B #8C9329 #B9C336 #CCD463 #DBE192

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C336#FFFFFF#000000##000000
##B9C3361.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)
#D1BA1B
Deuteranopia (green-blind)
#D1BC41
Tritanopia (blue-blind)
#C5B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c336;
/* rgb */ color: rgb(185, 195, 54);
/* oklch */ color: oklch(78.5% 0.158 113.6);
Tailwind
colors: {
  custom: {
    50: '#d2d577',
    500: '#b9c336',
    950: '#000000',
  },
}
SCSS
$custom: #b9c336;
$custom-light: #d2d577;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c336",
  "rgb": {
    "r": 185,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 64.255,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7846,
    "c": 0.15772,
    "h": 113.6
  },
  "luminance": 0.49611
}

Semantic roles & 50–950 ramp

primary
#B9C336
secondary
#8E89CC
accent
#48E053
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B9C336

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

Preview Lab → · Contrast checker → · Palette generator →

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