#B4B834#B4B834

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

Color values

HEX#B4B834
RGBrgb(180, 184, 52)
HSLhsl(62, 56%, 46%)
HSVhsv(62, 72%, 72%)
CMYKcmyk(2.2%, 0%, 71.7%, 27.8%)
CIE-LABlab(72.38, -17.26, 62.58)
CIE-LCHlch(72.38, 64.91, 105.42°)
OKLaboklab(75.6% -0.0538 0.1386)
OKLCHoklch(75.6% 0.149 111.2)
XYZxyz(36.5839, 44.2332, 9.8589)
Luminance0.4423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B834 #3834B8
analogous
#B87A34 #B4B834 #72B834
triadic
#B4B834 #34B4B8 #B834B4
tetradic
#B4B834 #34B87A #3834B8 #B83472
square
#B4B834 #34B87A #3834B8 #B83472
split-complementary
#B4B834 #3472B8 #7A34B8
monochromatic
#575919 #858827 #B4B834 #CDD059 #DBDE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B834#FFFFFF#000000##000000
##B4B8341.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)
#C6B01C
Deuteranopia (green-blind)
#C7B33E
Tritanopia (blue-blind)
#C0AD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b834;
/* rgb */ color: rgb(180, 184, 52);
/* oklch */ color: oklch(75.6% 0.149 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd75',
    500: '#b4b834',
    950: '#000000',
  },
}
SCSS
$custom: #b4b834;
$custom-light: #cecd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b834",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 61.818,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75601,
    "c": 0.14866,
    "h": 111.2
  },
  "luminance": 0.44232
}

Semantic roles & 50–950 ramp

primary
#B4B834
secondary
#8280C8
accent
#49DF4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B834

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

Preview Lab → · Contrast checker → · Palette generator →

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