#B4B837#B4B837

#B4B837 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.147 H 111.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B4B837
RGBrgb(180, 184, 55)
HSLhsl(62, 54%, 47%)
HSVhsv(62, 70%, 72%)
CMYKcmyk(2.2%, 0%, 70.1%, 27.8%)
CIE-LABlab(72.40, -17.11, 61.51)
CIE-LCHlch(72.40, 63.84, 105.54°)
OKLaboklab(75.62% -0.0531 0.1369)
OKLCHoklch(75.62% 0.147 111.2)
XYZxyz(36.6537, 44.2611, 10.2261)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B837 #3B37B8
analogous
#B87B37 #B4B837 #74B837
triadic
#B4B837 #37B4B8 #B837B4
tetradic
#B4B837 #37B87B #3B37B8 #B83774
square
#B4B837 #37B87B #3B37B8 #B83774
split-complementary
#B4B837 #3774B8 #7B37B8
monochromatic
#585A1B #868929 #B4B837 #CBCF5D #DADD8D

Accessibility & contrast

On white

2.13
#B4B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B4B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B837
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B837#FFFFFF#000000##000000
##B4B8371.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B021
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#C0AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b837;
/* rgb */ color: rgb(180, 184, 55);
/* oklch */ color: oklch(75.6% 0.147 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd76',
    500: '#b4b837',
    950: '#000000',
  },
}
SCSS
$custom: #b4b837;
$custom-light: #cecd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b837",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 61.86,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75621,
    "c": 0.14678,
    "h": 111.2
  },
  "luminance": 0.4426
}

Semantic roles & 50–950 ramp

primary
#B4B837
secondary
#8684C7
accent
#4ADD4F
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B837

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

Preview Lab → · Contrast checker → · Palette generator →

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