#B5B92D#B5B92D

#B5B92D is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.153 H 111.2°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#B5B92D
RGBrgb(181, 185, 45)
HSLhsl(62, 61%, 45%)
HSVhsv(62, 76%, 73%)
CMYKcmyk(2.2%, 0%, 75.7%, 27.5%)
CIE-LABlab(72.70, -17.65, 65.27)
CIE-LCHlch(72.70, 67.61, 105.13°)
OKLaboklab(75.86% -0.0556 0.143)
OKLCHoklch(75.86% 0.153 111.2)
XYZxyz(36.8800, 44.7121, 9.1697)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B92D #312DB9
analogous
#B9772D #B5B92D #6FB92D
triadic
#B5B92D #2DB5B9 #B92DB5
tetradic
#B5B92D #2DB977 #312DB9 #B92D6F
square
#B5B92D #2DB977 #312DB9 #B92D6F
split-complementary
#B5B92D #2D6FB9 #772DB9
monochromatic
#555715 #858821 #B5B92D #D0D44F #DDE080

Accessibility & contrast

On white

2.11
#B5B92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#B5B92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B92D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B92D#FFFFFF#000000##000000
##B5B92D1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B108
Deuteranopia (green-blind)
#C9B439
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b92d;
/* rgb */ color: rgb(181, 185, 45);
/* oklch */ color: oklch(75.9% 0.153 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfcd71',
    500: '#b5b92d',
    950: '#000000',
  },
}
SCSS
$custom: #b5b92d;
$custom-light: #cfcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b92d",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 45
  },
  "hsl": {
    "h": 61.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75862,
    "c": 0.15341,
    "h": 111.2
  },
  "luminance": 0.44711
}

Semantic roles & 50–950 ramp

primary
#B5B92D
secondary
#7B79C9
accent
#44E448
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B92D

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

Preview Lab → · Contrast checker → · Palette generator →

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