#B4B92B#B4B92B

#B4B92B is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.155 H 111.7°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#B4B92B
RGBrgb(180, 185, 43)
HSLhsl(62, 62%, 45%)
HSVhsv(62, 77%, 73%)
CMYKcmyk(2.7%, 0%, 76.8%, 27.5%)
CIE-LABlab(72.61, -18.16, 65.79)
CIE-LCHlch(72.61, 68.25, 105.43°)
OKLaboklab(75.77% -0.0571 0.1438)
OKLCHoklch(75.77% 0.155 111.7)
XYZxyz(36.6087, 44.5766, 8.9607)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B92B #302BB9
analogous
#B9772B #B4B92B #6DB92B
triadic
#B4B92B #2BB4B9 #B92BB4
tetradic
#B4B92B #2BB977 #302BB9 #B92B6D
square
#B4B92B #2BB977 #302BB9 #B92B6D
split-complementary
#B4B92B #2B6DB9 #772BB9
monochromatic
#535614 #84871F #B4B92B #D1D54C #DDE17E

Accessibility & contrast

On white

2.12
#B4B92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#B4B92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B92B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B92B#FFFFFF#000000##000000
##B4B92B1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B001
Deuteranopia (green-blind)
#C8B437
Tritanopia (blue-blind)
#C1AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b92b;
/* rgb */ color: rgb(180, 185, 43);
/* oklch */ color: oklch(75.8% 0.155 111.7);
Tailwind
colors: {
  custom: {
    50: '#cecd71',
    500: '#b4b92b',
    950: '#000000',
  },
}
SCSS
$custom: #b4b92b;
$custom-light: #cecd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b92b",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 43
  },
  "hsl": {
    "h": 62.113,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75768,
    "c": 0.1547,
    "h": 111.7
  },
  "luminance": 0.44576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4B92B

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

Preview Lab → · Contrast checker → · Palette generator →

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