#B5BF2E#B5BF2E

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

Color values

HEX#B5BF2E
RGBrgb(181, 191, 46)
HSLhsl(64, 61%, 46%)
HSVhsv(64, 76%, 75%)
CMYKcmyk(5.2%, 0%, 75.9%, 25.1%)
CIE-LABlab(74.37, -20.60, 66.49)
CIE-LCHlch(74.37, 69.61, 107.22°)
OKLaboklab(77.2% -0.0637 0.1458)
OKLCHoklch(77.2% 0.159 113.6)
XYZxyz(38.1812, 47.2834, 9.6995)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF2E #382EBF
analogous
#BF812E #B5BF2E #6DBF2E
triadic
#B5BF2E #2EB5BF #BF2EB5
tetradic
#B5BF2E #2EBF81 #382EBF #BF2E6D
square
#B5BF2E #2EBF81 #382EBF #BF2E6D
split-complementary
#B5BF2E #2E6DBF #812EBF
monochromatic
#585C16 #868E22 #B5BF2E #CDD654 #DBE286

Accessibility & contrast

On white

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

On black

10.46
#B5BF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF2E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF2E#FFFFFF#000000##000000
##B5BF2E1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB606
Deuteranopia (green-blind)
#CDB83B
Tritanopia (blue-blind)
#C1B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf2e;
/* rgb */ color: rgb(181, 191, 46);
/* oklch */ color: oklch(77.2% 0.159 113.6);
Tailwind
colors: {
  custom: {
    50: '#cfd273',
    500: '#b5bf2e',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf2e;
$custom-light: #cfd273;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf2e",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 46
  },
  "hsl": {
    "h": 64.138,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.772,
    "c": 0.15907,
    "h": 113.6
  },
  "luminance": 0.47283
}

Semantic roles & 50–950 ramp

primary
#B5BF2E
secondary
#837ECB
accent
#44E44F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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