#B9C337#B9C337

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

Color values

HEX#B9C337
RGBrgb(185, 195, 55)
HSLhsl(64, 56%, 49%)
HSVhsv(64, 72%, 76%)
CMYKcmyk(5.1%, 0%, 71.8%, 23.5%)
CIE-LABlab(75.84, -20.49, 64.98)
CIE-LCHlch(75.84, 68.14, 107.50°)
OKLaboklab(78.47% -0.0628 0.144)
OKLCHoklch(78.47% 0.157 113.6)
XYZxyz(40.2135, 49.6212, 11.0732)
Luminance0.4962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C337 #4137C3
analogous
#C38737 #B9C337 #73C337
triadic
#B9C337 #37B9C3 #C337B9
tetradic
#B9C337 #37C387 #4137C3 #C33773
square
#B9C337 #37C387 #4137C3 #C33773
split-complementary
#B9C337 #3773C3 #8737C3
monochromatic
#5E641C #8C932A #B9C337 #CBD364 #DBE194

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C337#FFFFFF#000000##000000
##B9C3371.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)
#D1BA1D
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#C5B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c337;
/* rgb */ color: rgb(185, 195, 55);
/* oklch */ color: oklch(78.5% 0.157 113.6);
Tailwind
colors: {
  custom: {
    50: '#d1d577',
    500: '#b9c337',
    950: '#000000',
  },
}
SCSS
$custom: #b9c337;
$custom-light: #d1d577;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c337",
  "rgb": {
    "r": 185,
    "g": 195,
    "b": 55
  },
  "hsl": {
    "h": 64.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78466,
    "c": 0.15712,
    "h": 113.6
  },
  "luminance": 0.4962
}

Semantic roles & 50–950 ramp

primary
#B9C337
secondary
#8F8ACC
accent
#49DF53
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B9C337

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

Preview Lab → · Contrast checker → · Palette generator →

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