#B5C834#B5C834

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

Color values

HEX#B5C834
RGBrgb(181, 200, 52)
HSLhsl(68, 59%, 49%)
HSVhsv(68, 74%, 78%)
CMYKcmyk(9.5%, 0%, 74%, 21.6%)
CIE-LABlab(76.91, -24.74, 66.92)
CIE-LCHlch(76.91, 71.35, 110.29°)
OKLaboklab(79.25% -0.0746 0.1477)
OKLCHoklch(79.25% 0.166 116.8)
XYZxyz(40.3312, 51.3808, 11.0410)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C834 #4734C8
analogous
#C89134 #B5C834 #6BC834
triadic
#B5C834 #34B5C8 #C834B5
tetradic
#B5C834 #34C891 #4734C8 #C8346B
square
#B5C834 #34C891 #4734C8 #C8346B
split-complementary
#B5C834 #346BC8 #9134C8
monochromatic
#5D671B #899727 #B5C834 #C8D663 #D9E393

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C834#FFFFFF#000000##000000
##B5C8341.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)
#D6BD13
Deuteranopia (green-blind)
#D4BF41
Tritanopia (blue-blind)
#C0BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c834;
/* rgb */ color: rgb(181, 200, 52);
/* oklch */ color: oklch(79.2% 0.166 116.8);
Tailwind
colors: {
  custom: {
    50: '#cfd876',
    500: '#b5c834',
    950: '#000000',
  },
}
SCSS
$custom: #b5c834;
$custom-light: #cfd876;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c834",
  "rgb": {
    "r": 181,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 67.703,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79247,
    "c": 0.16552,
    "h": 116.8
  },
  "luminance": 0.5138
}

Semantic roles & 50–950 ramp

primary
#B5C834
secondary
#382F71
accent
#46E25A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C834

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

Preview Lab → · Contrast checker → · Palette generator →

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