#B5BE42#B5BE42

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

Color values

HEX#B5BE42
RGBrgb(181, 190, 66)
HSLhsl(64, 49%, 50%)
HSVhsv(64, 65%, 75%)
CMYKcmyk(4.7%, 0%, 65.3%, 25.5%)
CIE-LABlab(74.22, -19.07, 59.11)
CIE-LCHlch(74.22, 62.11, 107.88°)
OKLaboklab(77.12% -0.0575 0.1336)
OKLCHoklch(77.12% 0.145 113.3)
XYZxyz(38.4539, 47.0448, 12.2081)
Luminance0.4704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BE42 #4B42BE
analogous
#BE8942 #B5BE42 #77BE42
triadic
#B5BE42 #42B5BE #BE42B5
tetradic
#B5BE42 #42BE89 #4B42BE #BE4277
square
#B5BE42 #42BE89 #4B42BE #BE4277
split-complementary
#B5BE42 #4277BE #8942BE
monochromatic
#5F6322 #8A9132 #B5BE42 #C7CE70 #D9DD9D

Accessibility & contrast

On white

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

On black

10.41
#B5BE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BE42
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BE42#FFFFFF#000000##000000
##B5BE421.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5be42;
/* rgb */ color: rgb(181, 190, 66);
/* oklch */ color: oklch(77.1% 0.145 113.3);
Tailwind
colors: {
  custom: {
    50: '#ced17d',
    500: '#b5be42',
    950: '#000000',
  },
}
SCSS
$custom: #b5be42;
$custom-light: #ced17d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5be42",
  "rgb": {
    "r": 181,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 64.355,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77118,
    "c": 0.14542,
    "h": 113.3
  },
  "luminance": 0.47044
}

Semantic roles & 50–950 ramp

primary
#B5BE42
secondary
#9692CA
accent
#4FD859
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5BE42

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

Preview Lab → · Contrast checker → · Palette generator →

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