#B9C937#B9C937

#B9C937 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.8% C 0.164 H 115.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#B9C937
RGBrgb(185, 201, 55)
HSLhsl(67, 57%, 50%)
HSVhsv(67, 73%, 79%)
CMYKcmyk(8%, 0%, 72.6%, 21.2%)
CIE-LABlab(77.50, -23.43, 66.58)
CIE-LCHlch(77.50, 70.58, 109.39°)
OKLaboklab(79.8% -0.071 0.1474)
OKLCHoklch(79.8% 0.164 115.7)
XYZxyz(41.5849, 52.3641, 11.5303)
Luminance0.5236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C937 #4737C9
analogous
#C99037 #B9C937 #70C937
triadic
#B9C937 #37B9C9 #C937B9
tetradic
#B9C937 #37C990 #4737C9 #C93770
square
#B9C937 #37C990 #4737C9 #C93770
split-complementary
#B9C937 #3770C9 #9037C9
monochromatic
#61691C #8D9929 #B9C937 #CAD667 #DBE397

Accessibility & contrast

On white

1.83
#B9C937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#B9C937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C937
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C937#FFFFFF#000000##000000
##B9C9371.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1A
Deuteranopia (green-blind)
#D6C143
Tritanopia (blue-blind)
#C5BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c937;
/* rgb */ color: rgb(185, 201, 55);
/* oklch */ color: oklch(79.8% 0.164 115.7);
Tailwind
colors: {
  custom: {
    50: '#d2d978',
    500: '#b9c937',
    950: '#000000',
  },
}
SCSS
$custom: #b9c937;
$custom-light: #d2d978;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c937",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 55
  },
  "hsl": {
    "h": 66.575,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79799,
    "c": 0.1636,
    "h": 115.7
  },
  "luminance": 0.52363
}

Semantic roles & 50–950 ramp

primary
#B9C937
secondary
#383173
accent
#47E158
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C937

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

Preview Lab → · Contrast checker → · Palette generator →

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