#B5C835#B5C835

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

Color values

HEX#B5C835
RGBrgb(181, 200, 53)
HSLhsl(68, 58%, 50%)
HSVhsv(68, 74%, 78%)
CMYKcmyk(9.5%, 0%, 73.5%, 21.6%)
CIE-LABlab(76.91, -24.70, 66.60)
CIE-LCHlch(76.91, 71.03, 110.35°)
OKLaboklab(79.25% -0.0744 0.1472)
OKLCHoklch(79.25% 0.165 116.8)
XYZxyz(40.3539, 51.3899, 11.1609)
Luminance0.5139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C835 #4835C8
analogous
#C89235 #B5C835 #6CC835
triadic
#B5C835 #35B5C8 #C835B5
tetradic
#B5C835 #35C892 #4835C8 #C8356C
square
#B5C835 #35C892 #4835C8 #C8356C
split-complementary
#B5C835 #356CC8 #9235C8
monochromatic
#5D671B #899828 #B5C835 #C7D664 #D9E395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C835#FFFFFF#000000##000000
##B5C8351.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)
#D6BD16
Deuteranopia (green-blind)
#D4BF42
Tritanopia (blue-blind)
#C0BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c835;
/* rgb */ color: rgb(181, 200, 53);
/* oklch */ color: oklch(79.3% 0.165 116.8);
Tailwind
colors: {
  custom: {
    50: '#cfd877',
    500: '#b5c835',
    950: '#000000',
  },
}
SCSS
$custom: #b5c835;
$custom-light: #cfd877;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c835",
  "rgb": {
    "r": 181,
    "g": 200,
    "b": 53
  },
  "hsl": {
    "h": 67.755,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79253,
    "c": 0.16496,
    "h": 116.8
  },
  "luminance": 0.51389
}

Semantic roles & 50–950 ramp

primary
#B5C835
secondary
#383071
accent
#46E15A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C835

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

Preview Lab → · Contrast checker → · Palette generator →

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