#B4B936#B4B936

#B4B936 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.148 H 111.6°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B4B936
RGBrgb(180, 185, 54)
HSLhsl(62, 55%, 47%)
HSVhsv(62, 71%, 73%)
CMYKcmyk(2.7%, 0%, 70.8%, 27.5%)
CIE-LABlab(72.67, -17.66, 62.14)
CIE-LCHlch(72.67, 64.60, 105.87°)
OKLaboklab(75.84% -0.0547 0.138)
OKLCHoklch(75.84% 0.148 111.6)
XYZxyz(36.8384, 44.6685, 10.1706)
Luminance0.4467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B936 #3B36B9
analogous
#B97D36 #B4B936 #73B936
triadic
#B4B936 #36B4B9 #B936B4
tetradic
#B4B936 #36B97D #3B36B9 #B93673
square
#B4B936 #36B97D #3B36B9 #B93673
split-complementary
#B4B936 #3673B9 #7D36B9
monochromatic
#585A1A #868A28 #B4B936 #CBD05D #DADD8C

Accessibility & contrast

On white

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

On black

9.93
#B4B936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B936
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B936#FFFFFF#000000##000000
##B4B9361.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B11F
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#C0AE9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b936;
/* rgb */ color: rgb(180, 185, 54);
/* oklch */ color: oklch(75.8% 0.148 111.6);
Tailwind
colors: {
  custom: {
    50: '#cecd76',
    500: '#b4b936',
    950: '#000000',
  },
}
SCSS
$custom: #b4b936;
$custom-light: #cecd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b936",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 62.29,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75836,
    "c": 0.14847,
    "h": 111.6
  },
  "luminance": 0.44668
}

Semantic roles & 50–950 ramp

primary
#B4B936
secondary
#8683C8
accent
#4ADE4F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B936

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

Preview Lab → · Contrast checker → · Palette generator →

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