#B5BE38#B5BE38

#B5BE38 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.152 H 113.3°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#B5BE38
RGBrgb(181, 190, 56)
HSLhsl(64, 54%, 48%)
HSVhsv(64, 71%, 75%)
CMYKcmyk(4.7%, 0%, 70.5%, 25.5%)
CIE-LABlab(74.15, -19.64, 62.88)
CIE-LCHlch(74.15, 65.88, 107.34°)
OKLaboklab(77.04% -0.0601 0.1399)
OKLCHoklch(77.04% 0.152 113.3)
XYZxyz(38.1844, 46.9370, 10.7889)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE38 #4138BE
analogous
#BE8438 #B5BE38 #72BE38
triadic
#B5BE38 #38B5BE #BE38B5
tetradic
#B5BE38 #38BE84 #4138BE #BE3872
square
#B5BE38 #38BE84 #4138BE #BE3872
split-complementary
#B5BE38 #3872BE #8438BE
monochromatic
#5B5F1C #888F2A #B5BE38 #C9D162 #DADF92

Accessibility & contrast

On white

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

On black

10.39
#B5BE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BE38
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BE38#FFFFFF#000000##000000
##B5BE381.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#CCB842
Tritanopia (blue-blind)
#C1B3A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5be38;
/* rgb */ color: rgb(181, 190, 56);
/* oklch */ color: oklch(77.0% 0.152 113.3);
Tailwind
colors: {
  custom: {
    50: '#cfd177',
    500: '#b5be38',
    950: '#000000',
  },
}
SCSS
$custom: #b5be38;
$custom-light: #cfd177;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be38",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 64.03,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77041,
    "c": 0.15226,
    "h": 113.3
  },
  "luminance": 0.46936
}

Semantic roles & 50–950 ramp

primary
#B5BE38
secondary
#8C88CA
accent
#4ADE54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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