#B5C535#B5C535

#B5C535 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.162 H 115.8°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#B5C535
RGBrgb(181, 197, 53)
HSLhsl(67, 58%, 49%)
HSVhsv(67, 73%, 77%)
CMYKcmyk(8.1%, 0%, 73.1%, 22.7%)
CIE-LABlab(76.08, -23.24, 65.80)
CIE-LCHlch(76.08, 69.78, 109.45°)
OKLaboklab(78.58% -0.0704 0.1455)
OKLCHoklch(78.58% 0.162 115.8)
XYZxyz(39.6660, 50.0139, 10.9316)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C535 #4535C5
analogous
#C58D35 #B5C535 #6DC535
triadic
#B5C535 #35B5C5 #C535B5
tetradic
#B5C535 #35C58D #4535C5 #C5356D
square
#B5C535 #35C58D #4535C5 #C5356D
split-complementary
#B5C535 #356DC5 #8D35C5
monochromatic
#5C651B #899528 #B5C535 #C8D562 #D9E293

Accessibility & contrast

On white

1.91
#B5C535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#B5C535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C535
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C535#FFFFFF#000000##000000
##B5C5351.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB17
Deuteranopia (green-blind)
#D2BD41
Tritanopia (blue-blind)
#C1BAA9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c535;
/* rgb */ color: rgb(181, 197, 53);
/* oklch */ color: oklch(78.6% 0.162 115.8);
Tailwind
colors: {
  custom: {
    50: '#cfd677',
    500: '#b5c535',
    950: '#000000',
  },
}
SCSS
$custom: #b5c535;
$custom-light: #cfd677;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c535",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 53
  },
  "hsl": {
    "h": 66.667,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78581,
    "c": 0.16166,
    "h": 115.8
  },
  "luminance": 0.50013
}

Semantic roles & 50–950 ramp

primary
#B5C535
secondary
#362F6F
accent
#47E158
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C535

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

Preview Lab → · Contrast checker → · Palette generator →

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