#B5B92B#B5B92B

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

Color values

HEX#B5B92B
RGBrgb(181, 185, 43)
HSLhsl(62, 62%, 45%)
HSVhsv(62, 77%, 73%)
CMYKcmyk(2.2%, 0%, 76.8%, 27.5%)
CIE-LABlab(72.69, -17.73, 65.89)
CIE-LCHlch(72.69, 68.23, 105.06°)
OKLaboklab(75.85% -0.0559 0.144)
OKLCHoklch(75.85% 0.154 111.2)
XYZxyz(36.8424, 44.6971, 8.9717)
Luminance0.4470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B92B #2F2BB9
analogous
#B9762B #B5B92B #6EB92B
triadic
#B5B92B #2BB5B9 #B92BB5
tetradic
#B5B92B #2BB976 #2F2BB9 #B92B6E
square
#B5B92B #2BB976 #2F2BB9 #B92B6E
split-complementary
#B5B92B #2B6EB9 #762BB9
monochromatic
#545614 #84871F #B5B92B #D1D54C #DEE17E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B92B#FFFFFF#000000##000000
##B5B92B1.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)
#C8B001
Deuteranopia (green-blind)
#C9B437
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b92b;
/* rgb */ color: rgb(181, 185, 43);
/* oklch */ color: oklch(75.9% 0.154 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfcd71',
    500: '#b5b92b',
    950: '#000000',
  },
}
SCSS
$custom: #b5b92b;
$custom-light: #cfcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b92b",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 43
  },
  "hsl": {
    "h": 61.69,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75851,
    "c": 0.15445,
    "h": 111.2
  },
  "luminance": 0.44696
}

Semantic roles & 50–950 ramp

primary
#B5B92B
secondary
#7976C9
accent
#42E547
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B92B

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

Preview Lab → · Contrast checker → · Palette generator →

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