#B4C82E#B4C82E

#B4C82E is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.1% C 0.169 H 117.1°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#B4C82E
RGBrgb(180, 200, 46)
HSLhsl(68, 63%, 48%)
HSVhsv(68, 77%, 78%)
CMYKcmyk(10%, 0%, 77%, 21.6%)
CIE-LABlab(76.81, -25.42, 68.70)
CIE-LCHlch(76.81, 73.25, 110.31°)
OKLaboklab(79.14% -0.0769 0.1505)
OKLCHoklch(79.14% 0.169 117.1)
XYZxyz(39.9708, 51.2096, 10.3630)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C82E #422EC8
analogous
#C88F2E #B4C82E #67C82E
triadic
#B4C82E #2EB4C8 #C82EB4
tetradic
#B4C82E #2EC88F #422EC8 #C82E67
square
#B4C82E #2EC88F #422EC8 #C82E67
split-complementary
#B4C82E #2E67C8 #8F2EC8
monochromatic
#5A6417 #879623 #B4C82E #C9D95A #D9E58C

Accessibility & contrast

On white

1.87
#B4C82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#B4C82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C82E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C82E#FFFFFF#000000##000000
##B4C82E1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D4BE3C
Tritanopia (blue-blind)
#BFBCAB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c82e;
/* rgb */ color: rgb(180, 200, 46);
/* oklch */ color: oklch(79.1% 0.169 117.1);
Tailwind
colors: {
  custom: {
    50: '#ced874',
    500: '#b4c82e',
    950: '#000000',
  },
}
SCSS
$custom: #b4c82e;
$custom-light: #ced874;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c82e",
  "rgb": {
    "r": 180,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 67.792,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79136,
    "c": 0.16902,
    "h": 117.1
  },
  "luminance": 0.51209
}

Semantic roles & 50–950 ramp

primary
#B4C82E
secondary
#342B6F
accent
#42E657
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C82E

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

Preview Lab → · Contrast checker → · Palette generator →

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