#B5BD38#B5BD38

#B5BD38 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.8% C 0.151 H 112.9°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#B5BD38
RGBrgb(181, 189, 56)
HSLhsl(64, 54%, 48%)
HSVhsv(64, 70%, 74%)
CMYKcmyk(4.2%, 0%, 70.4%, 25.9%)
CIE-LABlab(73.87, -19.14, 62.61)
CIE-LCHlch(73.87, 65.47, 107.00°)
OKLaboklab(76.82% -0.0587 0.1393)
OKLCHoklch(76.82% 0.151 112.9)
XYZxyz(37.9686, 46.5053, 10.7169)
Luminance0.4650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BD38 #4038BD
analogous
#BD8238 #B5BD38 #72BD38
triadic
#B5BD38 #38B5BD #BD38B5
tetradic
#B5BD38 #38BD82 #4038BD #BD3872
square
#B5BD38 #38BD82 #4038BD #BD3872
split-complementary
#B5BD38 #3872BD #8238BD
monochromatic
#5B5F1C #888E2A #B5BD38 #CAD062 #DADE91

Accessibility & contrast

On white

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

On black

10.30
#B5BD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BD38
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BD38#FFFFFF#000000##000000
##B5BD381.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#C1B2A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b5bd38;
/* rgb */ color: rgb(181, 189, 56);
/* oklch */ color: oklch(76.8% 0.151 112.9);
Tailwind
colors: {
  custom: {
    50: '#ced077',
    500: '#b5bd38',
    950: '#000000',
  },
}
SCSS
$custom: #b5bd38;
$custom-light: #ced077;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bd38",
  "rgb": {
    "r": 181,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 63.609,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76819,
    "c": 0.15118,
    "h": 112.9
  },
  "luminance": 0.46504
}

Semantic roles & 50–950 ramp

primary
#B5BD38
secondary
#8B87C9
accent
#4ADE53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BD38

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

Preview Lab → · Contrast checker → · Palette generator →

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