#B8C337#B8C337

#B8C337 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.4% C 0.157 H 114.0°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#B8C337
RGBrgb(184, 195, 55)
HSLhsl(65, 56%, 49%)
HSVhsv(65, 72%, 76%)
CMYKcmyk(5.6%, 0%, 71.8%, 23.5%)
CIE-LABlab(75.76, -20.91, 64.88)
CIE-LCHlch(75.76, 68.17, 107.86°)
OKLaboklab(78.39% -0.0639 0.1438)
OKLCHoklch(78.39% 0.157 114)
XYZxyz(39.9730, 49.4972, 11.0619)
Luminance0.4950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C337 #4237C3
analogous
#C38837 #B8C337 #72C337
triadic
#B8C337 #37B8C3 #C337B8
tetradic
#B8C337 #37C388 #4237C3 #C33772
square
#B8C337 #37C388 #4237C3 #C33772
split-complementary
#B8C337 #3772C3 #8837C3
monochromatic
#5E641C #8B932A #B8C337 #CBD364 #DBE194

Accessibility & contrast

On white

1.93
#B8C337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#B8C337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C337
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C337#FFFFFF#000000##000000
##B8C3371.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91D
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#C4B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b8c337;
/* rgb */ color: rgb(184, 195, 55);
/* oklch */ color: oklch(78.4% 0.157 114.0);
Tailwind
colors: {
  custom: {
    50: '#d1d577',
    500: '#b8c337',
    950: '#000000',
  },
}
SCSS
$custom: #b8c337;
$custom-light: #d1d577;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c337",
  "rgb": {
    "r": 184,
    "g": 195,
    "b": 55
  },
  "hsl": {
    "h": 64.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78386,
    "c": 0.15739,
    "h": 114
  },
  "luminance": 0.49496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8C337

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

Preview Lab → · Contrast checker → · Palette generator →

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