#B5C337#B5C337

#B5C337 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.1% C 0.158 H 115.1°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#B5C337
RGBrgb(181, 195, 55)
HSLhsl(66, 56%, 49%)
HSVhsv(66, 72%, 76%)
CMYKcmyk(7.2%, 0%, 71.8%, 23.5%)
CIE-LABlab(75.53, -22.16, 64.59)
CIE-LCHlch(75.53, 68.28, 108.94°)
OKLaboklab(78.15% -0.0672 0.1433)
OKLCHoklch(78.15% 0.158 115.1)
XYZxyz(39.2618, 49.1305, 11.0286)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C337 #4537C3
analogous
#C38B37 #B5C337 #6FC337
triadic
#B5C337 #37B5C3 #C337B5
tetradic
#B5C337 #37C38B #4537C3 #C3376F
square
#B5C337 #37C38B #4537C3 #C3376F
split-complementary
#B5C337 #376FC3 #8B37C3
monochromatic
#5C641C #89932A #B5C337 #C8D364 #D9E194

Accessibility & contrast

On white

1.94
#B5C337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#B5C337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C337
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C337#FFFFFF#000000##000000
##B5C3371.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91D
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#C1B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b5c337;
/* rgb */ color: rgb(181, 195, 55);
/* oklch */ color: oklch(78.1% 0.158 115.1);
Tailwind
colors: {
  custom: {
    50: '#cfd577',
    500: '#b5c337',
    950: '#000000',
  },
}
SCSS
$custom: #b5c337;
$custom-light: #cfd577;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c337",
  "rgb": {
    "r": 181,
    "g": 195,
    "b": 55
  },
  "hsl": {
    "h": 66,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78147,
    "c": 0.1583,
    "h": 115.1
  },
  "luminance": 0.4913
}

Semantic roles & 50–950 ramp

primary
#B5C337
secondary
#918ACC
accent
#49DF58
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C337

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

Preview Lab → · Contrast checker → · Palette generator →

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