#B4B836#B4B836

#B4B836 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#B4B836
RGBrgb(180, 184, 54)
HSLhsl(62, 55%, 47%)
HSVhsv(62, 71%, 72%)
CMYKcmyk(2.2%, 0%, 70.7%, 27.8%)
CIE-LABlab(72.40, -17.16, 61.87)
CIE-LCHlch(72.40, 64.20, 105.50°)
OKLaboklab(75.61% -0.0533 0.1374)
OKLCHoklch(75.61% 0.147 111.2)
XYZxyz(36.6299, 44.2516, 10.1012)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B836 #3A36B8
analogous
#B87B36 #B4B836 #73B836
triadic
#B4B836 #36B4B8 #B836B4
tetradic
#B4B836 #36B87B #3A36B8 #B83673
square
#B4B836 #36B87B #3A36B8 #B83673
split-complementary
#B4B836 #3673B8 #7B36B8
monochromatic
#57591A #868928 #B4B836 #CCCF5C #DBDD8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B836#FFFFFF#000000##000000
##B4B8361.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)
#C6B01F
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#C0AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b836;
/* rgb */ color: rgb(180, 184, 54);
/* oklch */ color: oklch(75.6% 0.147 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd76',
    500: '#b4b836',
    950: '#000000',
  },
}
SCSS
$custom: #b4b836;
$custom-light: #cecd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b836",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 61.846,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75614,
    "c": 0.14742,
    "h": 111.2
  },
  "luminance": 0.44251
}

Semantic roles & 50–950 ramp

primary
#B4B836
secondary
#8582C7
accent
#4ADE4E
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B836

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

Preview Lab → · Contrast checker → · Palette generator →

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