#B5B92F#B5B92F

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

Color values

HEX#B5B92F
RGBrgb(181, 185, 47)
HSLhsl(62, 59%, 45%)
HSVhsv(62, 75%, 73%)
CMYKcmyk(2.2%, 0%, 74.6%, 27.5%)
CIE-LABlab(72.71, -17.56, 64.63)
CIE-LCHlch(72.71, 66.97, 105.20°)
OKLaboklab(75.87% -0.0551 0.142)
OKLCHoklch(75.87% 0.152 111.2)
XYZxyz(36.9194, 44.7279, 9.3773)
Luminance0.4473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B92F #332FB9
analogous
#B9782F #B5B92F #70B92F
triadic
#B5B92F #2FB5B9 #B92FB5
tetradic
#B5B92F #2FB978 #332FB9 #B92F70
square
#B5B92F #2FB978 #332FB9 #B92F70
split-complementary
#B5B92F #2F70B9 #782FB9
monochromatic
#565716 #858823 #B5B92F #CFD352 #DDDF83

Accessibility & contrast

On white

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

On black

9.95
#B5B92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B92F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B92F#FFFFFF#000000##000000
##B5B92F1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b92f;
/* rgb */ color: rgb(181, 185, 47);
/* oklch */ color: oklch(75.9% 0.152 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfcd72',
    500: '#b5b92f',
    950: '#000000',
  },
}
SCSS
$custom: #b5b92f;
$custom-light: #cfcd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b92f",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 61.739,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75874,
    "c": 0.15234,
    "h": 111.2
  },
  "luminance": 0.44727
}

Semantic roles & 50–950 ramp

primary
#B5B92F
secondary
#7D7BC9
accent
#45E34A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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