#B5C631#B5C631

#B5C631 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.8% C 0.165 H 116.1°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#B5C631
RGBrgb(181, 198, 49)
HSLhsl(67, 60%, 48%)
HSVhsv(67, 75%, 78%)
CMYKcmyk(8.6%, 0%, 75.3%, 22.4%)
CIE-LABlab(76.34, -23.91, 67.36)
CIE-LCHlch(76.34, 71.48, 109.54°)
OKLaboklab(78.78% -0.0726 0.1481)
OKLCHoklch(78.78% 0.165 116.1)
XYZxyz(39.8056, 50.4343, 10.5430)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C631 #4231C6
analogous
#C68C31 #B5C631 #6AC631
triadic
#B5C631 #31B5C6 #C631B5
tetradic
#B5C631 #31C68C #4231C6 #C6316A
square
#B5C631 #31C68C #4231C6 #C6316A
split-complementary
#B5C631 #316AC6 #8C31C6
monochromatic
#5B6419 #889525 #B5C631 #C9D75D #D9E38E

Accessibility & contrast

On white

1.89
#B5C631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#B5C631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C631
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C631#FFFFFF#000000##000000
##B5C6311.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC0B
Deuteranopia (green-blind)
#D3BD3E
Tritanopia (blue-blind)
#C1BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c631;
/* rgb */ color: rgb(181, 198, 49);
/* oklch */ color: oklch(78.8% 0.165 116.1);
Tailwind
colors: {
  custom: {
    50: '#cfd775',
    500: '#b5c631',
    950: '#000000',
  },
}
SCSS
$custom: #b5c631;
$custom-light: #cfd775;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c631",
  "rgb": {
    "r": 181,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 66.846,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78781,
    "c": 0.16497,
    "h": 116.1
  },
  "luminance": 0.50434
}

Semantic roles & 50–950 ramp

primary
#B5C631
secondary
#342D6E
accent
#44E356
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C631

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

Preview Lab → · Contrast checker → · Palette generator →

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