#B4B833#B4B833

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

Color values

HEX#B4B833
RGBrgb(180, 184, 51)
HSLhsl(62, 57%, 46%)
HSVhsv(62, 72%, 72%)
CMYKcmyk(2.2%, 0%, 72.3%, 27.8%)
CIE-LABlab(72.38, -17.31, 62.92)
CIE-LCHlch(72.38, 65.26, 105.38°)
OKLaboklab(75.59% -0.054 0.1392)
OKLCHoklch(75.59% 0.149 111.2)
XYZxyz(36.5616, 44.2242, 9.7415)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B833 #3733B8
analogous
#B87933 #B4B833 #71B833
triadic
#B4B833 #33B4B8 #B833B4
tetradic
#B4B833 #33B879 #3733B8 #B83371
square
#B4B833 #33B879 #3733B8 #B83371
split-complementary
#B4B833 #3371B8 #7933B8
monochromatic
#565818 #858826 #B4B833 #CDD158 #DBDE88

Accessibility & contrast

On white

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

On black

9.84
#B4B833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B833
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B833#FFFFFF#000000##000000
##B4B8331.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B019
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#C1AD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b833;
/* rgb */ color: rgb(180, 184, 51);
/* oklch */ color: oklch(75.6% 0.149 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd74',
    500: '#b4b833',
    950: '#000000',
  },
}
SCSS
$custom: #b4b833;
$custom-light: #cecd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b833",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 61.805,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75594,
    "c": 0.14927,
    "h": 111.2
  },
  "luminance": 0.44223
}

Semantic roles & 50–950 ramp

primary
#B4B833
secondary
#817FC8
accent
#48E04C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B833

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

Preview Lab → · Contrast checker → · Palette generator →

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