#B4CB34#B4CB34

#B4CB34 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 79.8% C 0.169 H 118.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#B4CB34
RGBrgb(180, 203, 52)
HSLhsl(69, 59%, 50%)
HSVhsv(69, 74%, 80%)
CMYKcmyk(11.3%, 0%, 74.4%, 20.4%)
CIE-LABlab(77.68, -26.60, 67.62)
CIE-LCHlch(77.68, 72.67, 111.47°)
OKLaboklab(79.85% -0.0797 0.1492)
OKLCHoklch(79.85% 0.169 118.1)
XYZxyz(40.7991, 52.6635, 11.2639)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CB34 #4B34CB
analogous
#CB9634 #B4CB34 #69CB34
triadic
#B4CB34 #34B4CB #CB34B4
tetradic
#B4CB34 #34CB96 #4B34CB #CB3469
square
#B4CB34 #34CB96 #4B34CB #CB3469
split-complementary
#B4CB34 #3469CB #9634CB
monochromatic
#5E6A1B #899A28 #B4CB34 #C6D765 #D8E495

Accessibility & contrast

On white

1.82
#B4CB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#B4CB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CB34
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CB34#FFFFFF#000000##000000
##B4CB341.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C011
Deuteranopia (green-blind)
#D6C141
Tritanopia (blue-blind)
#BFC0AE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b4cb34;
/* rgb */ color: rgb(180, 203, 52);
/* oklch */ color: oklch(79.8% 0.169 118.1);
Tailwind
colors: {
  custom: {
    50: '#ceda77',
    500: '#b4cb34',
    950: '#000000',
  },
}
SCSS
$custom: #b4cb34;
$custom-light: #ceda77;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cb34",
  "rgb": {
    "r": 180,
    "g": 203,
    "b": 52
  },
  "hsl": {
    "h": 69.139,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.79846,
    "c": 0.1692,
    "h": 118.1
  },
  "luminance": 0.52663
}

Semantic roles & 50–950 ramp

primary
#B4CB34
secondary
#3A3073
accent
#45E25D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4CB34

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

Preview Lab → · Contrast checker → · Palette generator →

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