#B4B937#B4B937

#B4B937 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.94:1 contrast (WCAG AA passes).

Color values

HEX#B4B937
RGBrgb(180, 185, 55)
HSLhsl(62, 54%, 47%)
HSVhsv(62, 70%, 73%)
CMYKcmyk(2.7%, 0%, 70.3%, 27.5%)
CIE-LABlab(72.68, -17.61, 61.78)
CIE-LCHlch(72.68, 64.24, 105.91°)
OKLaboklab(75.84% -0.0545 0.1374)
OKLCHoklch(75.84% 0.148 111.6)
XYZxyz(36.8621, 44.6780, 10.2956)
Luminance0.4468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B937 #3C37B9
analogous
#B97D37 #B4B937 #73B937
triadic
#B4B937 #37B4B9 #B937B4
tetradic
#B4B937 #37B97D #3C37B9 #B93773
square
#B4B937 #37B97D #3C37B9 #B93773
split-complementary
#B4B937 #3773B9 #7D37B9
monochromatic
#585B1B #868A29 #B4B937 #CBCF5E #DADD8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B937#FFFFFF#000000##000000
##B4B9371.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)
#C7B121
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#C0AEA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b937;
/* rgb */ color: rgb(180, 185, 55);
/* oklch */ color: oklch(75.8% 0.148 111.6);
Tailwind
colors: {
  custom: {
    50: '#cecd76',
    500: '#b4b937',
    950: '#000000',
  },
}
SCSS
$custom: #b4b937;
$custom-light: #cecd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b937",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 62.308,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75843,
    "c": 0.14783,
    "h": 111.6
  },
  "luminance": 0.44677
}

Semantic roles & 50–950 ramp

primary
#B4B937
secondary
#8784C8
accent
#4ADE50
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B937

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

Preview Lab → · Contrast checker → · Palette generator →

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