#B4C936#B4C936

#B4C936 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.4% C 0.166 H 117.5°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#B4C936
RGBrgb(180, 201, 54)
HSLhsl(69, 58%, 50%)
HSVhsv(69, 73%, 79%)
CMYKcmyk(10.4%, 0%, 73.1%, 21.2%)
CIE-LABlab(77.13, -25.55, 66.44)
CIE-LCHlch(77.13, 71.18, 111.03°)
OKLaboklab(79.41% -0.0766 0.1471)
OKLCHoklch(79.41% 0.166 117.5)
XYZxyz(40.3758, 51.7434, 11.3498)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C936 #4B36C9
analogous
#C99436 #B4C936 #6BC936
triadic
#B4C936 #36B4C9 #C936B4
tetradic
#B4C936 #36C994 #4B36C9 #C9366B
square
#B4C936 #36C994 #4B36C9 #C9366B
split-complementary
#B4C936 #366BC9 #9436C9
monochromatic
#5E691C #899929 #B4C936 #C6D666 #D8E396

Accessibility & contrast

On white

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

On black

11.35
#B4C936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C936
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C936#FFFFFF#000000##000000
##B4C9361.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE18
Deuteranopia (green-blind)
#D5BF43
Tritanopia (blue-blind)
#BFBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c936;
/* rgb */ color: rgb(180, 201, 54);
/* oklch */ color: oklch(79.4% 0.166 117.5);
Tailwind
colors: {
  custom: {
    50: '#ced978',
    500: '#b4c936',
    950: '#000000',
  },
}
SCSS
$custom: #b4c936;
$custom-light: #ced978;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c936",
  "rgb": {
    "r": 180,
    "g": 201,
    "b": 54
  },
  "hsl": {
    "h": 68.571,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.79408,
    "c": 0.16585,
    "h": 117.5
  },
  "luminance": 0.51743
}

Semantic roles & 50–950 ramp

primary
#B4C936
secondary
#3A3173
accent
#47E15D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C936

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

Preview Lab → · Contrast checker → · Palette generator →

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