#B4B835#B4B835

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

Color values

HEX#B4B835
RGBrgb(180, 184, 53)
HSLhsl(62, 55%, 46%)
HSVhsv(62, 71%, 72%)
CMYKcmyk(2.2%, 0%, 71.2%, 27.8%)
CIE-LABlab(72.39, -17.21, 62.23)
CIE-LCHlch(72.39, 64.56, 105.46°)
OKLaboklab(75.61% -0.0536 0.138)
OKLCHoklch(75.61% 0.148 111.2)
XYZxyz(36.6067, 44.2423, 9.9787)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B835 #3935B8
analogous
#B87B35 #B4B835 #73B835
triadic
#B4B835 #35B4B8 #B835B4
tetradic
#B4B835 #35B87B #3935B8 #B83573
square
#B4B835 #35B87B #3935B8 #B83573
split-complementary
#B4B835 #3573B8 #7B35B8
monochromatic
#57591A #868827 #B4B835 #CCD05B #DBDD8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B835#FFFFFF#000000##000000
##B4B8351.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)
#C6B01D
Deuteranopia (green-blind)
#C7B33F
Tritanopia (blue-blind)
#C0AD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b835;
/* rgb */ color: rgb(180, 184, 53);
/* oklch */ color: oklch(75.6% 0.148 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd75',
    500: '#b4b835',
    950: '#000000',
  },
}
SCSS
$custom: #b4b835;
$custom-light: #cecd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b835",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 53
  },
  "hsl": {
    "h": 61.832,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75607,
    "c": 0.14805,
    "h": 111.2
  },
  "luminance": 0.44241
}

Semantic roles & 50–950 ramp

primary
#B4B835
secondary
#8381C7
accent
#49DF4E
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B835

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

Preview Lab → · Contrast checker → · Palette generator →

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