#B9C836#B9C836

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

Color values

HEX#B9C836
RGBrgb(185, 200, 54)
HSLhsl(66, 57%, 50%)
HSVhsv(66, 73%, 78%)
CMYKcmyk(7.5%, 0%, 73%, 21.6%)
CIE-LABlab(77.22, -22.99, 66.65)
CIE-LCHlch(77.22, 70.50, 109.03°)
OKLaboklab(79.57% -0.0698 0.1474)
OKLCHoklch(79.57% 0.163 115.4)
XYZxyz(41.3288, 51.8899, 11.3279)
Luminance0.5189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C836 #4536C8
analogous
#C88E36 #B9C836 #70C836
triadic
#B9C836 #36B9C8 #C836B9
tetradic
#B9C836 #36C88E #4536C8 #C83670
square
#B9C836 #36C88E #4536C8 #C83670
split-complementary
#B9C836 #3670C8 #8E36C8
monochromatic
#60681C #8C9829 #B9C836 #CAD666 #DBE396

Accessibility & contrast

On white

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

On black

11.38
#B9C836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C836
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C836#FFFFFF#000000##000000
##B9C8361.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c836;
/* rgb */ color: rgb(185, 200, 54);
/* oklch */ color: oklch(79.6% 0.163 115.4);
Tailwind
colors: {
  custom: {
    50: '#d2d878',
    500: '#b9c836',
    950: '#000000',
  },
}
SCSS
$custom: #b9c836;
$custom-light: #d2d878;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c836",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 54
  },
  "hsl": {
    "h": 66.164,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7957,
    "c": 0.16308,
    "h": 115.4
  },
  "luminance": 0.51889
}

Semantic roles & 50–950 ramp

primary
#B9C836
secondary
#373072
accent
#47E157
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B9C836

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

Preview Lab → · Contrast checker → · Palette generator →

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