#B5B92C#B5B92C

#B5B92C 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#B5B92C
RGBrgb(181, 185, 44)
HSLhsl(62, 62%, 45%)
HSVhsv(62, 76%, 73%)
CMYKcmyk(2.2%, 0%, 76.2%, 27.5%)
CIE-LABlab(72.70, -17.69, 65.58)
CIE-LCHlch(72.70, 67.92, 105.10°)
OKLaboklab(75.86% -0.0558 0.1435)
OKLCHoklch(75.86% 0.154 111.2)
XYZxyz(36.8609, 44.7045, 9.0695)
Luminance0.4470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B92C #302CB9
analogous
#B9762C #B5B92C #6FB92C
triadic
#B5B92C #2CB5B9 #B92CB5
tetradic
#B5B92C #2CB976 #302CB9 #B92C6F
square
#B5B92C #2CB976 #302CB9 #B92C6F
split-complementary
#B5B92C #2C6FB9 #762CB9
monochromatic
#545614 #858820 #B5B92C #D1D54D #DEE17F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B92C#FFFFFF#000000##000000
##B5B92C1.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)
#C8B004
Deuteranopia (green-blind)
#C9B438
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b92c;
/* rgb */ color: rgb(181, 185, 44);
/* oklch */ color: oklch(75.9% 0.154 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfcd71',
    500: '#b5b92c',
    950: '#000000',
  },
}
SCSS
$custom: #b5b92c;
$custom-light: #cfcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b92c",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 44
  },
  "hsl": {
    "h": 61.702,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75856,
    "c": 0.15394,
    "h": 111.2
  },
  "luminance": 0.44704
}

Semantic roles & 50–950 ramp

primary
#B5B92C
secondary
#7A78C9
accent
#43E548
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B92C

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

Preview Lab → · Contrast checker → · Palette generator →

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