#B5BD22#B5BD22

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

Color values

HEX#B5BD22
RGBrgb(181, 189, 34)
HSLhsl(63, 70%, 44%)
HSVhsv(63, 82%, 74%)
CMYKcmyk(4.2%, 0%, 82%, 25.9%)
CIE-LABlab(73.76, -20.05, 69.36)
CIE-LCHlch(73.76, 72.20, 106.12°)
OKLaboklab(76.7% -0.063 0.1498)
OKLCHoklch(76.7% 0.163 112.8)
XYZxyz(37.5437, 46.3353, 8.4790)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BD22 #2A22BD
analogous
#BD7722 #B5BD22 #67BD22
triadic
#B5BD22 #22B5BD #BD22B5
tetradic
#B5BD22 #22BD77 #2A22BD #BD2267
square
#B5BD22 #22BD77 #2A22BD #BD2267
split-complementary
#B5BD22 #2267BD #7722BD
monochromatic
#52550F #838919 #B5BD22 #D4DD40 #E0E673

Accessibility & contrast

On white

2.05
#B5BD22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BD22#FFFFFF#000000##000000
##B5BD221.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bd22;
/* rgb */ color: rgb(181, 189, 34);
/* oklch */ color: oklch(76.7% 0.163 112.8);
Tailwind
colors: {
  custom: {
    50: '#cfd06d',
    500: '#b5bd22',
    950: '#000000',
  },
}
SCSS
$custom: #b5bd22;
$custom-light: #cfd06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bd22",
  "rgb": {
    "r": 181,
    "g": 189,
    "b": 34
  },
  "hsl": {
    "h": 63.097,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76696,
    "c": 0.16252,
    "h": 112.8
  },
  "luminance": 0.46334
}

Semantic roles & 50–950 ramp

primary
#B5BD22
secondary
#736ECD
accent
#3BEC45
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5BD22

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

Preview Lab → · Contrast checker → · Palette generator →

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