#B5BD25#B5BD25

#B5BD25 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#B5BD25
RGBrgb(181, 189, 37)
HSLhsl(63, 67%, 44%)
HSVhsv(63, 80%, 74%)
CMYKcmyk(4.2%, 0%, 80.4%, 25.9%)
CIE-LABlab(73.77, -19.95, 68.59)
CIE-LCHlch(73.77, 71.43, 106.22°)
OKLaboklab(76.71% -0.0626 0.1487)
OKLCHoklch(76.71% 0.161 112.8)
XYZxyz(37.5889, 46.3534, 8.7169)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BD25 #2D25BD
analogous
#BD7925 #B5BD25 #69BD25
triadic
#B5BD25 #25B5BD #BD25B5
tetradic
#B5BD25 #25BD79 #2D25BD #BD2569
square
#B5BD25 #25BD79 #2D25BD #BD2569
split-complementary
#B5BD25 #2569BD #7925BD
monochromatic
#535711 #848A1B #B5BD25 #D3DB45 #DFE578

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BD25#FFFFFF#000000##000000
##B5BD251.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)
#CCB734
Tritanopia (blue-blind)
#C2B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bd25;
/* rgb */ color: rgb(181, 189, 37);
/* oklch */ color: oklch(76.7% 0.161 112.8);
Tailwind
colors: {
  custom: {
    50: '#cfd06f',
    500: '#b5bd25',
    950: '#000000',
  },
}
SCSS
$custom: #b5bd25;
$custom-light: #cfd06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bd25",
  "rgb": {
    "r": 181,
    "g": 189,
    "b": 37
  },
  "hsl": {
    "h": 63.158,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.76709,
    "c": 0.16129,
    "h": 112.8
  },
  "luminance": 0.46353
}

Semantic roles & 50–950 ramp

primary
#B5BD25
secondary
#7672CC
accent
#3EEA47
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B5BD25

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

Preview Lab → · Contrast checker → · Palette generator →

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