#B4C934#B4C934

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

Color values

HEX#B4C934
RGBrgb(180, 201, 52)
HSLhsl(68, 59%, 50%)
HSVhsv(68, 74%, 79%)
CMYKcmyk(10.4%, 0%, 74.1%, 21.2%)
CIE-LABlab(77.12, -25.64, 67.09)
CIE-LCHlch(77.12, 71.83, 110.92°)
OKLaboklab(79.4% -0.0771 0.1481)
OKLCHoklch(79.4% 0.167 117.5)
XYZxyz(40.3298, 51.7250, 11.1075)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C934 #4934C9
analogous
#C99334 #B4C934 #6AC934
triadic
#B4C934 #34B4C9 #C934B4
tetradic
#B4C934 #34C993 #4934C9 #C9346A
square
#B4C934 #34C993 #4934C9 #C9346A
split-complementary
#B4C934 #346AC9 #9334C9
monochromatic
#5D681B #889827 #B4C934 #C7D763 #D8E394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C934#FFFFFF#000000##000000
##B4C9341.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)
#D7BE12
Deuteranopia (green-blind)
#D5BF41
Tritanopia (blue-blind)
#BFBEAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c934;
/* rgb */ color: rgb(180, 201, 52);
/* oklch */ color: oklch(79.4% 0.167 117.5);
Tailwind
colors: {
  custom: {
    50: '#ced977',
    500: '#b4c934',
    950: '#000000',
  },
}
SCSS
$custom: #b4c934;
$custom-light: #ced977;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c934",
  "rgb": {
    "r": 180,
    "g": 201,
    "b": 52
  },
  "hsl": {
    "h": 68.456,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79396,
    "c": 0.16697,
    "h": 117.5
  },
  "luminance": 0.51725
}

Semantic roles & 50–950 ramp

primary
#B4C934
secondary
#392F72
accent
#46E25C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C934

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

Preview Lab → · Contrast checker → · Palette generator →

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