#B5C836#B5C836

#B5C836 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.3% C 0.164 H 116.8°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#B5C836
RGBrgb(181, 200, 54)
HSLhsl(68, 57%, 50%)
HSVhsv(68, 73%, 78%)
CMYKcmyk(9.5%, 0%, 73%, 21.6%)
CIE-LABlab(76.92, -24.65, 66.27)
CIE-LCHlch(76.92, 70.70, 110.40°)
OKLaboklab(79.26% -0.0742 0.1467)
OKLCHoklch(79.26% 0.164 116.8)
XYZxyz(40.3772, 51.3992, 11.2833)
Luminance0.5140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C836 #4936C8
analogous
#C89236 #B5C836 #6CC836
triadic
#B5C836 #36B5C8 #C836B5
tetradic
#B5C836 #36C892 #4936C8 #C8366C
square
#B5C836 #36C892 #4936C8 #C8366C
split-complementary
#B5C836 #366CC8 #9236C8
monochromatic
#5E681C #899829 #B5C836 #C7D666 #D9E396

Accessibility & contrast

On white

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

On black

11.28
#B5C836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C836
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C836#FFFFFF#000000##000000
##B5C8361.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD18
Deuteranopia (green-blind)
#D4BF42
Tritanopia (blue-blind)
#C0BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c836;
/* rgb */ color: rgb(181, 200, 54);
/* oklch */ color: oklch(79.3% 0.164 116.8);
Tailwind
colors: {
  custom: {
    50: '#cfd877',
    500: '#b5c836',
    950: '#000000',
  },
}
SCSS
$custom: #b5c836;
$custom-light: #cfd877;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c836",
  "rgb": {
    "r": 181,
    "g": 200,
    "b": 54
  },
  "hsl": {
    "h": 67.808,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7926,
    "c": 0.16439,
    "h": 116.8
  },
  "luminance": 0.51399
}

Semantic roles & 50–950 ramp

primary
#B5C836
secondary
#393072
accent
#47E15B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C836

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

Preview Lab → · Contrast checker → · Palette generator →

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