#B9C837#B9C837

#B9C837 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#B9C837
RGBrgb(185, 200, 55)
HSLhsl(66, 57%, 50%)
HSVhsv(66, 73%, 78%)
CMYKcmyk(7.5%, 0%, 72.5%, 21.6%)
CIE-LABlab(77.22, -22.94, 66.32)
CIE-LCHlch(77.22, 70.17, 109.08°)
OKLaboklab(79.58% -0.0696 0.1468)
OKLCHoklch(79.58% 0.163 115.4)
XYZxyz(41.3526, 51.8994, 11.4529)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C837 #4637C8
analogous
#C88F37 #B9C837 #70C837
triadic
#B9C837 #37B9C8 #C837B9
tetradic
#B9C837 #37C88F #4637C8 #C83770
square
#B9C837 #37C88F #4637C8 #C83770
split-complementary
#B9C837 #3770C8 #8F37C8
monochromatic
#60681D #8D982A #B9C837 #CAD567 #DBE297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C837#FFFFFF#000000##000000
##B9C8371.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)
#D6BE1A
Deuteranopia (green-blind)
#D5C043
Tritanopia (blue-blind)
#C5BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c837;
/* rgb */ color: rgb(185, 200, 55);
/* oklch */ color: oklch(79.6% 0.163 115.4);
Tailwind
colors: {
  custom: {
    50: '#d2d878',
    500: '#b9c837',
    950: '#000000',
  },
}
SCSS
$custom: #b9c837;
$custom-light: #d2d878;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c837",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 66.207,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.79576,
    "c": 0.1625,
    "h": 115.4
  },
  "luminance": 0.51899
}

Semantic roles & 50–950 ramp

primary
#B9C837
secondary
#383172
accent
#48E057
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C837

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

Preview Lab → · Contrast checker → · Palette generator →

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