#B5BE40#B5BE40

#B5BE40 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.1% C 0.147 H 113.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#B5BE40
RGBrgb(181, 190, 64)
HSLhsl(64, 50%, 50%)
HSVhsv(64, 66%, 75%)
CMYKcmyk(4.7%, 0%, 66.3%, 25.5%)
CIE-LABlab(74.20, -19.19, 59.89)
CIE-LCHlch(74.20, 62.89, 107.77°)
OKLaboklab(77.1% -0.0581 0.1349)
OKLCHoklch(77.1% 0.147 113.3)
XYZxyz(38.3960, 47.0216, 11.9029)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE40 #4940BE
analogous
#BE8840 #B5BE40 #76BE40
triadic
#B5BE40 #40B5BE #BE40B5
tetradic
#B5BE40 #40BE88 #4940BE #BE4076
square
#B5BE40 #40BE88 #4940BE #BE4076
split-complementary
#B5BE40 #4076BE #8840BE
monochromatic
#5E6221 #899031 #B5BE40 #C7CE6D #D9DD9B

Accessibility & contrast

On white

2.02
#B5BE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#B5BE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BE40
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BE40#FFFFFF#000000##000000
##B5BE401.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#C1B3A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5be40;
/* rgb */ color: rgb(181, 190, 64);
/* oklch */ color: oklch(77.1% 0.147 113.3);
Tailwind
colors: {
  custom: {
    50: '#ced17c',
    500: '#b5be40',
    950: '#000000',
  },
}
SCSS
$custom: #b5be40;
$custom-light: #ced17c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be40",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 64.286,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77101,
    "c": 0.14688,
    "h": 113.3
  },
  "luminance": 0.47021
}

Semantic roles & 50–950 ramp

primary
#B5BE40
secondary
#9490C9
accent
#4FD959
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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