#B5BF35#B5BF35

#B5BF35 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.155 H 113.6°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B5BF35
RGBrgb(181, 191, 53)
HSLhsl(64, 57%, 48%)
HSVhsv(64, 72%, 75%)
CMYKcmyk(5.2%, 0%, 72.3%, 25.1%)
CIE-LABlab(74.41, -20.29, 64.20)
CIE-LCHlch(74.41, 67.33, 107.53°)
OKLaboklab(77.24% -0.0622 0.1422)
OKLCHoklch(77.24% 0.155 113.6)
XYZxyz(38.3306, 47.3432, 10.4864)
Luminance0.4734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF35 #3F35BF
analogous
#BF8435 #B5BF35 #70BF35
triadic
#B5BF35 #35B5BF #BF35B5
tetradic
#B5BF35 #35BF84 #3F35BF #BF3570
square
#B5BF35 #35BF84 #3F35BF #BF3570
split-complementary
#B5BF35 #3570BF #8435BF
monochromatic
#5A5F1A #888F28 #B5BF35 #CAD35F #DAE08F

Accessibility & contrast

On white

2.01
#B5BF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#B5BF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF35
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF35#FFFFFF#000000##000000
##B5BF351.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB61A
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#C1B4A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf35;
/* rgb */ color: rgb(181, 191, 53);
/* oklch */ color: oklch(77.2% 0.155 113.6);
Tailwind
colors: {
  custom: {
    50: '#cfd276',
    500: '#b5bf35',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf35;
$custom-light: #cfd276;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf35",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 53
  },
  "hsl": {
    "h": 64.348,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77243,
    "c": 0.15517,
    "h": 113.6
  },
  "luminance": 0.47342
}

Semantic roles & 50–950 ramp

primary
#B5BF35
secondary
#8A85CA
accent
#48E053
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BF35

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

Preview Lab → · Contrast checker → · Palette generator →

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