#B5C837#B5C837

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

Color values

HEX#B5C837
RGBrgb(181, 200, 55)
HSLhsl(68, 57%, 50%)
HSVhsv(68, 73%, 78%)
CMYKcmyk(9.5%, 0%, 72.5%, 21.6%)
CIE-LABlab(76.93, -24.60, 65.93)
CIE-LCHlch(76.93, 70.37, 110.46°)
OKLaboklab(79.27% -0.074 0.1461)
OKLCHoklch(79.27% 0.164 116.9)
XYZxyz(40.4009, 51.4087, 11.4082)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C837 #4A37C8
analogous
#C89237 #B5C837 #6DC837
triadic
#B5C837 #37B5C8 #C837B5
tetradic
#B5C837 #37C892 #4A37C8 #C8376D
square
#B5C837 #37C892 #4A37C8 #C8376D
split-complementary
#B5C837 #376DC8 #9237C8
monochromatic
#5E681D #8A982A #B5C837 #C7D567 #D9E297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C837#FFFFFF#000000##000000
##B5C8371.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)
#D6BD1A
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#C0BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c837;
/* rgb */ color: rgb(181, 200, 55);
/* oklch */ color: oklch(79.3% 0.164 116.9);
Tailwind
colors: {
  custom: {
    50: '#cfd878',
    500: '#b5c837',
    950: '#000000',
  },
}
SCSS
$custom: #b5c837;
$custom-light: #cfd878;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c837",
  "rgb": {
    "r": 181,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 67.862,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.79266,
    "c": 0.1638,
    "h": 116.9
  },
  "luminance": 0.51408
}

Semantic roles & 50–950 ramp

primary
#B5C837
secondary
#3A3172
accent
#48E05C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5C837

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

Preview Lab → · Contrast checker → · Palette generator →

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