#B5C237#B5C237

#B5C237 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.9% C 0.157 H 114.8°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B5C237
RGBrgb(181, 194, 55)
HSLhsl(66, 56%, 49%)
HSVhsv(66, 72%, 76%)
CMYKcmyk(6.7%, 0%, 71.6%, 23.9%)
CIE-LABlab(75.25, -21.67, 64.32)
CIE-LCHlch(75.25, 67.87, 108.62°)
OKLaboklab(77.92% -0.0659 0.1427)
OKLCHoklch(77.92% 0.157 114.8)
XYZxyz(39.0385, 48.6839, 10.9541)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C237 #4437C2
analogous
#C28A37 #B5C237 #70C237
triadic
#B5C237 #37B5C2 #C237B5
tetradic
#B5C237 #37C28A #4437C2 #C23770
square
#B5C237 #37C28A #4437C2 #C23770
split-complementary
#B5C237 #3770C2 #8A37C2
monochromatic
#5C631C #899229 #B5C237 #C8D363 #D9E093

Accessibility & contrast

On white

1.96
#B5C237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#B5C237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C237
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C237#FFFFFF#000000##000000
##B5C2371.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81D
Deuteranopia (green-blind)
#CFBB42
Tritanopia (blue-blind)
#C1B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c237;
/* rgb */ color: rgb(181, 194, 55);
/* oklch */ color: oklch(77.9% 0.157 114.8);
Tailwind
colors: {
  custom: {
    50: '#cfd477',
    500: '#b5c237',
    950: '#000000',
  },
}
SCSS
$custom: #b5c237;
$custom-light: #cfd477;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c237",
  "rgb": {
    "r": 181,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 65.612,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77924,
    "c": 0.1572,
    "h": 114.8
  },
  "luminance": 0.48683
}

Semantic roles & 50–950 ramp

primary
#B5C237
secondary
#9089CB
accent
#49DF57
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C237

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

Preview Lab → · Contrast checker → · Palette generator →

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