#B5BD26#B5BD26

#B5BD26 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.7% C 0.161 H 112.8°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#B5BD26
RGBrgb(181, 189, 38)
HSLhsl(63, 67%, 45%)
HSVhsv(63, 80%, 74%)
CMYKcmyk(4.2%, 0%, 79.9%, 25.9%)
CIE-LABlab(73.78, -19.91, 68.32)
CIE-LCHlch(73.78, 71.16, 106.25°)
OKLaboklab(76.71% -0.0624 0.1483)
OKLCHoklch(76.71% 0.161 112.8)
XYZxyz(37.6048, 46.3598, 8.8007)
Luminance0.4636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BD26 #2E26BD
analogous
#BD7A26 #B5BD26 #69BD26
triadic
#B5BD26 #26B5BD #BD26B5
tetradic
#B5BD26 #26BD7A #2E26BD #BD2669
square
#B5BD26 #26BD7A #2E26BD #BD2669
split-complementary
#B5BD26 #2669BD #7A26BD
monochromatic
#535712 #848A1C #B5BD26 #D2DA46 #DEE479

Accessibility & contrast

On white

2.04
#B5BD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#B5BD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BD26
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BD26#FFFFFF#000000##000000
##B5BD261.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CCB735
Tritanopia (blue-blind)
#C2B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bd26;
/* rgb */ color: rgb(181, 189, 38);
/* oklch */ color: oklch(76.7% 0.161 112.8);
Tailwind
colors: {
  custom: {
    50: '#cfd06f',
    500: '#b5bd26',
    950: '#000000',
  },
}
SCSS
$custom: #b5bd26;
$custom-light: #cfd06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bd26",
  "rgb": {
    "r": 181,
    "g": 189,
    "b": 38
  },
  "hsl": {
    "h": 63.179,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76714,
    "c": 0.16086,
    "h": 112.8
  },
  "luminance": 0.46359
}

Semantic roles & 50–950 ramp

primary
#B5BD26
secondary
#7873CC
accent
#3EE947
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B5BD26

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

Preview Lab → · Contrast checker → · Palette generator →

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