#B5C82E#B5C82E

#B5C82E is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.2% C 0.169 H 116.7°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#B5C82E
RGBrgb(181, 200, 46)
HSLhsl(67, 63%, 48%)
HSVhsv(67, 77%, 78%)
CMYKcmyk(9.5%, 0%, 77%, 21.6%)
CIE-LABlab(76.88, -25.01, 68.79)
CIE-LCHlch(76.88, 73.19, 109.98°)
OKLaboklab(79.21% -0.0759 0.1507)
OKLCHoklch(79.21% 0.169 116.7)
XYZxyz(40.2045, 51.3301, 10.3740)
Luminance0.5133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C82E #412EC8
analogous
#C88E2E #B5C82E #68C82E
triadic
#B5C82E #2EB5C8 #C82EB5
tetradic
#B5C82E #2EC88E #412EC8 #C82E68
square
#B5C82E #2EC88E #412EC8 #C82E68
split-complementary
#B5C82E #2E68C8 #8E2EC8
monochromatic
#5B6417 #889623 #B5C82E #C9D95A #DAE58C

Accessibility & contrast

On white

1.86
#B5C82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#B5C82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C82E
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C82E#FFFFFF#000000##000000
##B5C82E1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5c82e;
/* rgb */ color: rgb(181, 200, 46);
/* oklch */ color: oklch(79.2% 0.169 116.7);
Tailwind
colors: {
  custom: {
    50: '#cfd874',
    500: '#b5c82e',
    950: '#000000',
  },
}
SCSS
$custom: #b5c82e;
$custom-light: #cfd874;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c82e",
  "rgb": {
    "r": 181,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 67.403,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79213,
    "c": 0.16868,
    "h": 116.7
  },
  "luminance": 0.5133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5C82E

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

Preview Lab → · Contrast checker → · Palette generator →

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