#B5C131#B5C131

#B5C131 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.160 H 114.4°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B5C131
RGBrgb(181, 193, 49)
HSLhsl(65, 60%, 47%)
HSVhsv(65, 75%, 76%)
CMYKcmyk(6.2%, 0%, 74.6%, 24.3%)
CIE-LABlab(74.94, -21.46, 66.06)
CIE-LCHlch(74.94, 69.46, 108.00°)
OKLaboklab(77.66% -0.0658 0.1454)
OKLCHoklch(77.66% 0.16 114.4)
XYZxyz(38.6815, 48.1862, 10.1683)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C131 #3D31C1
analogous
#C18531 #B5C131 #6DC131
triadic
#B5C131 #31B5C1 #C131B5
tetradic
#B5C131 #31C185 #3D31C1 #C1316D
square
#B5C131 #31C185 #3D31C1 #C1316D
split-complementary
#B5C131 #316DC1 #8531C1
monochromatic
#595F18 #879025 #B5C131 #CBD55A #DAE28B

Accessibility & contrast

On white

1.97
#B5C131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#B5C131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C131
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C131#FFFFFF#000000##000000
##B5C1311.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70F
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#C1B5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c131;
/* rgb */ color: rgb(181, 193, 49);
/* oklch */ color: oklch(77.7% 0.160 114.4);
Tailwind
colors: {
  custom: {
    50: '#cfd374',
    500: '#b5c131',
    950: '#000000',
  },
}
SCSS
$custom: #b5c131;
$custom-light: #cfd374;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c131",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 65,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77663,
    "c": 0.15959,
    "h": 114.4
  },
  "luminance": 0.48185
}

Semantic roles & 50–950 ramp

primary
#B5C131
secondary
#8882CC
accent
#45E352
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C131

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

Preview Lab → · Contrast checker → · Palette generator →

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