#B4B41D#B4B41D

#B4B41D is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.156 H 109.6°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B4B41D
RGBrgb(180, 180, 29)
HSLhsl(60, 72%, 41%)
HSVhsv(60, 84%, 71%)
CMYKcmyk(0%, 0%, 83.9%, 29.4%)
CIE-LABlab(71.17, -16.10, 68.35)
CIE-LCHlch(71.17, 70.22, 103.26°)
OKLaboklab(74.6% -0.0524 0.1468)
OKLCHoklch(74.6% 0.156 109.6)
XYZxyz(35.3668, 42.4356, 7.4901)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B41D #1D1DB4
analogous
#B4681D #B4B41D #68B41D
triadic
#B4B41D #1DB4B4 #B41DB4
tetradic
#B4B41D #1DB468 #1D1DB4 #B41D68
square
#B4B41D #1DB468 #1D1DB4 #B41D68
split-complementary
#B4B41D #1D68B4 #681DB4
monochromatic
#4B4B0C #7F7F15 #B4B41D #DEDE30 #E6E665

Accessibility & contrast

On white

2.21
#B4B41D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B4B41D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B41D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B41D#FFFFFF#000000##000000
##B4B41D1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C5B02D
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b41d;
/* rgb */ color: rgb(180, 180, 29);
/* oklch */ color: oklch(74.6% 0.156 109.6);
Tailwind
colors: {
  custom: {
    50: '#cfca6a',
    500: '#b4b41d',
    950: '#000000',
  },
}
SCSS
$custom: #b4b41d;
$custom-light: #cfca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b41d",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 29
  },
  "hsl": {
    "h": 60,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.74596,
    "c": 0.15587,
    "h": 109.6
  },
  "luminance": 0.42435
}

Semantic roles & 50–950 ramp

primary
#B4B41D
secondary
#6161CB
accent
#39EF39
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B4B41D

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

Preview Lab → · Contrast checker → · Palette generator →

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