#B4B341#B4B341

#B4B341 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.135 H 108.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B4B341
RGBrgb(180, 179, 65)
HSLhsl(59, 47%, 48%)
HSVhsv(59, 64%, 71%)
CMYKcmyk(0%, 0.6%, 63.9%, 29.4%)
CIE-LABlab(71.10, -13.99, 56.24)
CIE-LCHlch(71.10, 57.95, 103.97°)
OKLaboklab(74.6% -0.0433 0.1274)
OKLCHoklch(74.6% 0.135 108.8)
XYZxyz(35.8978, 42.3262, 11.2788)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B341 #4142B4
analogous
#B47941 #B4B341 #7BB441
triadic
#B4B341 #41B4B3 #B341B4
tetradic
#B4B341 #41B479 #4142B4 #B4417B
square
#B4B341 #41B479 #4142B4 #B4417B
split-complementary
#B4B341 #417BB4 #7941B4
monochromatic
#5A5A21 #878631 #B4B341 #C9C869 #D9D996

Accessibility & contrast

On white

2.22
#B4B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B4B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B341
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B341#FFFFFF#000000##000000
##B4B3411.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC32
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#C0A89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b341;
/* rgb */ color: rgb(180, 179, 65);
/* oklch */ color: oklch(74.6% 0.135 108.8);
Tailwind
colors: {
  custom: {
    50: '#cdc97b',
    500: '#b4b341',
    950: '#000000',
  },
}
SCSS
$custom: #b4b341;
$custom-light: #cdc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b341",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 59.478,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.746,
    "c": 0.13452,
    "h": 108.8
  },
  "luminance": 0.42325
}

Semantic roles & 50–950 ramp

primary
#B4B341
secondary
#8C8CC5
accent
#52D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4B341

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

Preview Lab → · Contrast checker → · Palette generator →

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