#B4CB42#B4CB42

#B4CB42 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.9% C 0.161 H 118.4°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#B4CB42
RGBrgb(180, 203, 66)
HSLhsl(70, 57%, 53%)
HSVhsv(70, 67%, 80%)
CMYKcmyk(11.3%, 0%, 67.5%, 20.4%)
CIE-LABlab(77.76, -25.86, 62.73)
CIE-LCHlch(77.76, 67.85, 112.40°)
OKLaboklab(79.94% -0.0764 0.1412)
OKLCHoklch(79.94% 0.161 118.4)
XYZxyz(41.1625, 52.8089, 13.1779)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CB42 #5942CB
analogous
#CB9D42 #B4CB42 #6FCB42
triadic
#B4CB42 #42B4CB #CB42B4
tetradic
#B4CB42 #42CB9D #5942CB #CB426F
square
#B4CB42 #42CB9D #5942CB #CB426F
split-complementary
#B4CB42 #426FCB #9D42CB
monochromatic
#657320 #8FA32D #B4CB42 #C7D872 #DAE5A2

Accessibility & contrast

On white

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

On black

11.56
#B4CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CB42
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CB42#FFFFFF#000000##000000
##B4CB421.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#BEC0B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b4cb42;
/* rgb */ color: rgb(180, 203, 66);
/* oklch */ color: oklch(79.9% 0.161 118.4);
Tailwind
colors: {
  custom: {
    50: '#ceda7e',
    500: '#b4cb42',
    950: '#000000',
  },
}
SCSS
$custom: #b4cb42;
$custom-light: #ceda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cb42",
  "rgb": {
    "r": 180,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 70.073,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79943,
    "c": 0.16055,
    "h": 118.4
  },
  "luminance": 0.52809
}

Semantic roles & 50–950 ramp

primary
#B4CB42
secondary
#41357C
accent
#48E061
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B4CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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