#B4C837#B4C837

#B4C837 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.2% C 0.164 H 117.2°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#B4C837
RGBrgb(180, 200, 55)
HSLhsl(68, 57%, 50%)
HSVhsv(68, 73%, 78%)
CMYKcmyk(10%, 0%, 72.5%, 21.6%)
CIE-LABlab(76.85, -25.01, 65.84)
CIE-LCHlch(76.85, 70.43, 110.80°)
OKLaboklab(79.19% -0.0751 0.146)
OKLCHoklch(79.19% 0.164 117.2)
XYZxyz(40.1672, 51.2882, 11.3973)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C837 #4B37C8
analogous
#C89437 #B4C837 #6BC837
triadic
#B4C837 #37B4C8 #C837B4
tetradic
#B4C837 #37C894 #4B37C8 #C8376B
square
#B4C837 #37C894 #4B37C8 #C8376B
split-complementary
#B4C837 #376BC8 #9437C8
monochromatic
#5E681D #89982A #B4C837 #C6D567 #D8E297

Accessibility & contrast

On white

1.87
#B4C837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#B4C837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C837
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C837#FFFFFF#000000##000000
##B4C8371.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD1A
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#BFBDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c837;
/* rgb */ color: rgb(180, 200, 55);
/* oklch */ color: oklch(79.2% 0.164 117.2);
Tailwind
colors: {
  custom: {
    50: '#ced878',
    500: '#b4c837',
    950: '#000000',
  },
}
SCSS
$custom: #b4c837;
$custom-light: #ced878;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c837",
  "rgb": {
    "r": 180,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 68.276,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.7919,
    "c": 0.16415,
    "h": 117.2
  },
  "luminance": 0.51288
}

Semantic roles & 50–950 ramp

primary
#B4C837
secondary
#3A3172
accent
#48E05D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4C837

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

Preview Lab → · Contrast checker → · Palette generator →

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