#B4CB45#B4CB45

#B4CB45 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 80.0% C 0.158 H 118.5°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#B4CB45
RGBrgb(180, 203, 69)
HSLhsl(70, 56%, 53%)
HSVhsv(70, 66%, 80%)
CMYKcmyk(11.3%, 0%, 66%, 20.4%)
CIE-LABlab(77.78, -25.67, 61.58)
CIE-LCHlch(77.78, 66.72, 112.63°)
OKLaboklab(79.97% -0.0756 0.1392)
OKLCHoklch(79.97% 0.158 118.5)
XYZxyz(41.2533, 52.8452, 13.6560)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CB45 #5C45CB
analogous
#CB9F45 #B4CB45 #71CB45
triadic
#B4CB45 #45B4CB #CB45B4
tetradic
#B4CB45 #45CB9F #5C45CB #CB4571
square
#B4CB45 #45CB9F #5C45CB #CB4571
split-complementary
#B4CB45 #4571CB #9F45CB
monochromatic
#667521 #90A52E #B4CB45 #C7D875 #DBE6A5

Accessibility & contrast

On white

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

On black

11.57
#B4CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CB45
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CB45#FFFFFF#000000##000000
##B4CB451.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4cb45;
/* rgb */ color: rgb(180, 203, 69);
/* oklch */ color: oklch(80.0% 0.158 118.5);
Tailwind
colors: {
  custom: {
    50: '#cdda80',
    500: '#b4cb45',
    950: '#000000',
  },
}
SCSS
$custom: #b4cb45;
$custom-light: #cdda80;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cb45",
  "rgb": {
    "r": 180,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 70.299,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79967,
    "c": 0.15845,
    "h": 118.5
  },
  "luminance": 0.52845
}

Semantic roles & 50–950 ramp

primary
#B4CB45
secondary
#43377E
accent
#48E062
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B4CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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